Skip to content

Conversation

@belliottsmith
Copy link
Contributor

InMemoryRangeIndex: Cassandra's secondary range index integration appears to be faulty in some way, producing sync points that have missing dependencies. Introduce a burn-test integrated in-memory implementation we can be more efficiently confident in.
Also:
- SemiSyncValue
- Simulate CFR loading/listening
- KeyDeps.forEach
- Timestamp.tryParse
Fix:
- Minor burn test edge case when cancelling bootstrap and resuming
- NotifyWaitingOn stillExecutes->stillWaitsOn
- Privileged fast path commit failure should not send stable message
- DefaultLocalListeners iterators do not handle multiple waiters on the same transaction correctly
Improve:
- Don't compute Deps for SyncPoint Accept or Recover phase
- Catchup should report bounds to progress log

@ifesdjeen ifesdjeen self-requested a review January 12, 2026 14:05
 - Timestamp.tryParse
Also:
 - SemiSyncValue
 - Simulate CFR loading/listening
 - Minor burn test edge case when cancelling bootstrap and resuming
 - NotifyWaitingOn stillExecutes->stillWaitsOn
 - Privileged fast path commit failure should not send stable message
…ly reduce range scan burden of processing sync points

public abstract class IdEntry extends TxnId
{
static final int SAVE_SATUS_SHIFT = Status.Durability.ENCODING_BITS;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: "satus"

@Override
IdEntry copy()
{
accord.impl.cfr.IdSingleEntry copy = new accord.impl.cfr.IdSingleEntry(this, range);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: do not need to fully qualify here

{
if (!force
&& updated.saveStatus() == prev.saveStatus()
&& (updated.saveStatus().known.executeAt().isDecided() && !prev.saveStatus().known.executeAt().isDecided())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how can isDecided be different if save statuses are identity-equal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants