Skip to content

Handle failover by catching SIGUSR1 signal AND other refactors

John Cai requested to merge jc-naive-failover into master

based off of !1339 (diffs)

addresses: #1615 (closed)

This change will catch SIGUSR1, and attempt to promote the next secondary to primary, and update the datastore so that the new primary gets used on proxy requests, and also the secondary that got promoted no longer gets replication jobs assigned to it.

Closes #1723 (closed)

Refactor

  • moved Repository, GitalyServer to package models
Edited by GitLab Release Tools Bot

Merge request reports

Loading