Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(compact): log retrieval item data of invalid chunks #4354

Merged
merged 5 commits into from
Sep 29, 2023
Merged

Conversation

istae
Copy link
Member

@istae istae commented Sep 28, 2023

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

Log timestamp of invalid chunks.

It was discovered that multiple chunks were sharing the same sharky slot.
To log the chunk that took over the slot, we compute the chunk address using cac.DoHash and log relevant info of the chunk if the retrieval index item can be retrieved.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

@istae istae linked an issue Sep 28, 2023 that may be closed by this pull request
2 tasks
@istae istae requested a review from mrekucci September 28, 2023 22:06
@istae istae merged commit 8f17d2a into master Sep 29, 2023
13 checks passed
@istae istae deleted the compact-logger branch September 29, 2023 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add more logs for invalid chunks during compaciton
2 participants