- Jan 27, 2025
-
-
Georgy Moshkin authored
Remove the corresponding calls, add module-level doc-comments with explanations on what the hell is going on. This also fixes some flaky tests including #1294
-
Georgy Moshkin authored
Turns out blocking inside proc_replication_demote is not safe, as it may lead to deadlocking if a replicaset master switchover happens during a replicaset catch-up via raft snapshot. The symptom of the problem was the flakiness of the tests (for example issue #1294). Closes #1294 This reverts commit ec2b760a.
-
- Jan 10, 2025
-
-
Diana Tikhonova authored
Added a `wait_index` parameter to `proc_replication_demote` to improve synchronization during demotion operations.
-
Key updates include: Adding the term field to relevant RPC requests (ConfigureReplicationRequest, ReplicationSyncRequest, and DemoteRequest). Utilizing node.status().check_term(req.term) in critical sections of the replication logic.
-
- Nov 14, 2024
-
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
- Oct 28, 2024
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
This patch changes when we update current_master_name during consistent master switchover. Now it is updated as soon as we determine that the new master has synchronized it's vclock with the old master. As a result we can now block expel of a non-last replica in cases where other replicas are offline, which is crucial because instances can easily become offline due to temporary network issues.
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
Now we assume instance may not respond if - target state is Offline (non-graceful assumed) - current state is Expelled
-
- Oct 25, 2024
-
-
- Oct 22, 2024
-
-
Вартан Бабаян authored
-
Вартан Бабаян authored
-
- Oct 14, 2024
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
- Oct 03, 2024
-
-
Maksim Kaitmazian authored
-
- Sep 20, 2024
-
-
Closes #664
-
- Sep 16, 2024
-
-
Strictness!
-
-
- Sep 13, 2024
-
-
Kurdakov Alexander authored
Move vshard related fields from _pico_property to _pico_tier and adapt it in governor algorithm
-
- Sep 12, 2024
-
-
Maksim Kaitmazian authored
This reverts commit d7e93cfc.
-
- Sep 11, 2024
-
-
Maksim Kaitmazian authored
-
- Sep 06, 2024
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
There's still some raft operations which we can't switch to compare_and_swap yet unfortunately.
-
Georgy Moshkin authored
-
- Aug 30, 2024
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
Closes #875
-
- Aug 27, 2024
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
I'm not sure but I think it was added before we switched to counting vshard config versions. Basically it was fixing the same A-B-A problem but only in a single case. Just goes to show how you shouldn't apply hacky fixes to problems you don't fully understand. BTW nobody is ever reading this message, the commit only removes the code so nobody will ever bump into it going over git blame...
-
Georgy Moshkin authored
-