Skip to content

Conversation

@tbenr
Copy link
Contributor

@tbenr tbenr commented Feb 3, 2026

Reverts #10265

As we discussed, there is an unwanted interaction with the new custody backfiller. We need to avoid both classes writing the same variable. It is better to leave the pruner as is and let the backfiller be the only one responsible for updating the variable.

done here: #10312


Note

Medium Risk
Changes data-column sidecar pruning to no longer update the earliestAvailableDataColumnSlot DB variable, which could affect components relying on that metadata for backfill/custody progress.

Overview
Reverts the earlier behavior where data-column sidecar pruning updated the earliestAvailableDataColumnSlot variable: KvStoreDatabase.pruneDataColumnSidecars now only deletes sidecars and commits, leaving that variable to be managed elsewhere.

Removes the integration test that asserted earliestAvailableDataColumnSlot changes after pruning, and includes a small internal rename in FinalizedStateCache (MAX_REGENERATE_SLOTS -> MAX_REGENERATE_LOTS).

Written by Cursor Bugbot for commit 14ea9c8. This will update automatically on new commits. Configure here.

Copy link
Contributor

@zilm13 zilm13 left a comment

Choose a reason for hiding this comment

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

LGTM

public class FinalizedStateCache {

private static final long MAX_REGENERATE_SLOTS = 10_000L;
private static final long MAX_REGENERATE_LOTS = 10_000L;
Copy link
Contributor

Choose a reason for hiding this comment

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

we keep this, so only reverting?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

let change this on another PR, i'd like to leave this as a clean revert

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.

3 participants