mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
view: get_view_natural_endpoint: clarify documentation
"self-pairing" is enabled only when use_legacy_self_pairing is enabled. That is currently unclear in the documentation comment for this function. Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
@@ -1723,8 +1723,10 @@ bool should_generate_view_updates_on_this_shard(const schema_ptr& base, const lo
|
||||
//
|
||||
// If the keyspace's replication strategy is a NetworkTopologyStrategy,
|
||||
// we pair only nodes in the same datacenter.
|
||||
// If one of the base replicas also happens to be a view replica, it is
|
||||
// paired with itself (with the other nodes paired by order in the list
|
||||
//
|
||||
// When use_legacy_self_pairing is enabled, if one of the base replicas
|
||||
// also happens to be a view replica, it is paired with itself
|
||||
// (with the other nodes paired by order in the list
|
||||
// after taking this node out).
|
||||
//
|
||||
// If the assumption that the given base token belongs to this replica
|
||||
|
||||
Reference in New Issue
Block a user