Skip to content

Column cache for DataColumnSidecars#9409

Closed
zilm13 wants to merge 3 commits intoConsensys:dasfrom
zilm13:column-cache
Closed

Column cache for DataColumnSidecars#9409
zilm13 wants to merge 3 commits intoConsensys:dasfrom
zilm13:column-cache

Conversation

@zilm13
Copy link
Copy Markdown
Contributor

@zilm13 zilm13 commented May 9, 2025

PR Description

When recovering DataColumnSidecars from EL our nodes usually end up saving sidecars 2 times each, one when received from gossip and other from recovery because both actions happens simultaneously.. Moreover the order could be different at any slot.
This PR addresses this issue

Fixed Issue(s)

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

@zilm13 zilm13 changed the title Column cache Column cache for DataColumnSidecars May 9, 2025
assertThat(res1)
.isCompleted(); // no assumptions on result: cache may or may not pick up latest changes
assertThat(addCompleteFuture1).isCompleted();
long reads1 = db.getDbReadCounter().get();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we either need a lot of finals or to check these in the asserts

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

My bad, used to do it in hacky PoC style. Right time to get better. Updated.

@zilm13 zilm13 requested a review from rolfyone May 13, 2025 14:59
@lucassaldanha lucassaldanha mentioned this pull request May 19, 2025
2 tasks
@zilm13
Copy link
Copy Markdown
Contributor Author

zilm13 commented May 20, 2025

Merged in master in #9432

@zilm13 zilm13 closed this May 20, 2025
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