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

Regenerate index if StoreIdentityCids is enabled and existing index does not have FullyIndexed characteristic #253

Open
masih opened this issue Oct 1, 2021 · 0 comments
Labels
P3 Low: Not priority right now

Comments

@masih
Copy link
Member

masih commented Oct 1, 2021

ReadOrGenerateIndex does not re-generate index if the existing index doesn't satisfy passed options.

go-car/v2/index_gen.go

Lines 146 to 149 in f437812

// If index is present, then no need to generate; decode and return it.
if v2r.Header.HasIndex() {
return index.ReadFrom(v2r.IndexReader())
}

@masih masih changed the title Generate the index if StoreIdentityCids is enabled and FullyIndexed characteristic is not set Regenerate index if StoreIdentityCids is enabled and existing index does not have FullyIndexed characteristic Oct 1, 2021
@mvdan mvdan removed their assignment Mar 23, 2022
@BigLep BigLep added the P3 Low: Not priority right now label May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Low: Not priority right now
Projects
None yet
Development

No branches or pull requests

3 participants