Skip to content
Snippets Groups Projects

follow-ups for compare-and-swap in governor

Merged Georgy Moshkin requested to merge gmoshkin/more-cas-tweaks into master

Summary

  • fix: add instance id to cas predicate when changing replicaset's target master

Strictness!

  • fix: move automatic cas-predicate construction to the server side

  • refactor: Predicate::check_entry -> check_predicate

  • fix: retry "not a leader" errors when self-activating on startup

  • fix: picodata expel calls proc_expel_redirect

  • fix: make sure local compare-and-swap requests are never redirected

  • fix: don't block the event loop in pico.raft_log()


  • Close #785 (closed)
  • Relates to #856 (closed)
  • Follow-up for !1254 (merged)
  • Cherry-pick to: none
  • Docs follow-up: proc_cas behaviour: if predicate has empty ranges, they'll be auto-generated based on the raft operation. Spefically if it's a dml the ranges will just check for equality with the primary key of the operations
Edited by Yaroslav Dynnikov

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading