Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
I added to RSECT in CASSANDRA-1147,
// TODO DSS is asked to provide a total of 6 replicas, but we never give it 6 endpoints.
// thus we are testing undefined behavior, at best.
This is easiest to cause in DSS but it can afflict other Strategies too.
Let's update the ARS contract to state that calculateNaturalEndpoints (hence getNaturalEndpoints too) will throw IllegalStateException if more replicas are requested than the known endpoints (for DSS, this would apply on a per-DC basis) and amend the Strategy classes to check for this.
Attachments
Attachments
Issue Links
- relates to
-
CASSANDRA-1343 gossip throws IllegalStateException
- Resolved
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | trunk-1191.txt [ 12448362 ] |
Status | Open [ 1 ] | Patch Available [ 10002 ] |
Resolution | Fixed [ 1 ] | |
Status | Patch Available [ 10002 ] | Resolved [ 5 ] |
Link |
This issue relates to |
Workflow | no-reopen-closed, patch-avail [ 12513342 ] | patch-available, re-open possible [ 12752308 ] |
Workflow | patch-available, re-open possible [ 12752308 ] | reopen-resolved, no closed status, patch-avail, testing [ 12755290 ] |
Component/s | Core [ 12312978 ] |
Priority | Minor [ 4 ] | Low [ 10003 ] |
Workflow | reopen-resolved, no closed status, patch-avail, testing [ 12755290 ] | Cassandra Default Workflow [ 13561883 ] |
Authors | Matthew F. Dennis [ mdennis ] |
Severity | Low [ 12961 ] |
Workflow | Cassandra Default Workflow [ 13561883 ] | Copy of Cassandra Default Workflow [ 13846805 ] |