warn when inconsistent level of replication is detected #92

Merged
lx merged 3 commits from trinity-1686a/garage:warn-inconsistent-replication into main 2021-06-02 11:30:40 +00:00

fix #88
this is a very verbose warn (appears dozens of time per minute), but as this is warning against a dangerous configuration issue, I don't think it really needs rate-limiting

fix #88 this is a very verbose warn (appears dozens of time per minute), but as this is warning against a dangerous configuration issue, I don't think it really needs rate-limiting
trinity-1686a added 1 commit 2021-06-02 10:39:34 +00:00
warn when inconsistent level of replication is detected
All checks were successful
continuous-integration/drone/pr Build is passing
e6cfb47be2
Owner

Looks nice but I'd go even stronger: as soon as we detect someone has a different replication mode, show an error and exit(1)

Looks nice but I'd go even stronger: as soon as we detect someone has a different replication mode, show an error and exit(1)
Author
Owner

I guess "as soon as we detect someone has a different replication mode" should be interpreted as "someone with higher level of replication", so one node with replication=1 won't bring down the whole cluster?

I guess "as soon as we detect someone has a different replication mode" should be interpreted as "someone with higher level of replication", so one node with replication=1 won't bring down the whole cluster?
Owner

Yes ok!

Yes ok!
trinity-1686a added 1 commit 2021-06-02 11:12:42 +00:00
error and exit on replication level mismatch
Some checks failed
continuous-integration/drone/pr Build is failing
13bd3138cb
trinity-1686a added 1 commit 2021-06-02 11:22:14 +00:00
fix formating
All checks were successful
continuous-integration/drone/pr Build is passing
8611f8c0ef
lx merged commit 30a7dee920 into main 2021-06-02 11:30:40 +00:00
trinity-1686a deleted branch warn-inconsistent-replication 2021-06-02 11:58:44 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#92
No description provided.