mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 19:21:01 +00:00
The schedule_repair() receives a bunch of endpoint:mutations pairs and tries to create handlers for those. When creating the handlers it re-obtains topology from schema->ks->effective_replication_map chain, but this new topology can be outdated as compared to the list of endpoints at hand. The fix is to carry the e.r.m. pointer used by read executor reconciliation all the way down to repair handlers creation. This requires some manipulations with mutate_internal() and mutate_prepare() argument lists. fixes: #12050 (it was the same problem) Closes #12256 * github.com:scylladb/scylladb: proxy: Carry replication map with repair mutation(s) proxy: Wrap read repair entries into read_repair_mutation proxy: Turn ref to forwardable ref in mutations iterator