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

bug: Shard IDs is mixed-up leading to shard filenames to be incorrect #118

Closed
khorolets opened this issue Dec 12, 2024 · 0 comments · Fixed by #119
Closed

bug: Shard IDs is mixed-up leading to shard filenames to be incorrect #118

khorolets opened this issue Dec 12, 2024 · 0 comments · Fixed by #119
Assignees
Labels
bug Something isn't working

Comments

@khorolets
Copy link
Member

Recently, we've been reported about the mixed-up Shard Id in the StreamerMessage structure and actual data under the specific key having a different shard_id value.

It means that we have something like:

...
"shards": {
  "shard_id": 0,
  "chunk": { "shard_id": 1, ... }
  ...
},
...
}

This bug originated from the NEAR Indexer Framework implementation and has been recently fixed near/nearcore#12579, but it still needs time to be included in the release. We will probably see it in the 2.5.x

However, on the Lake Indexer side, we naively rely on that piece and can fix it immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant