atlasdb icon indicating copy to clipboard operation
atlasdb copied to clipboard

C* KVS should throw InsufficientConsistencyException

Open gmaretic opened this issue 5 years ago • 1 comments

When a C* node is down, and a KVS operation that requires all nodes is called, we eventually throw a RetryLimitReachedException. We should identify when the cause for this failure is insufficient consistency by checking the suppressed exceptions and throw an InsufficientConsistencyException instead, since there are places in our codebase where we are relying on catching ICE for proper behaviour.

gmaretic avatar Jun 19 '19 12:06 gmaretic

One way this is manifesting is TS failing with generic error rather than not enough nodes online

gmaretic avatar Jun 19 '19 12:06 gmaretic