-
Notifications
You must be signed in to change notification settings - Fork 472
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
sstable: errors while using writer with two level index #285
Comments
pbardea
added a commit
to pbardea/cockroach
that referenced
this issue
Sep 18, 2019
Setting the IndexBlockSize to MaxInt disables two level indexes. Using two level indexes cause issues restoring some registration cluster backups. This change servers as a work-around until cockroachdb/pebble#285 is resolved. Fixes cockroachdb#40670. Release justification: RESTOREs on registration cluster backups started failing after enabling two level indexes in Pebble. This was a release blocking bug and this fix allows these backups to be restored again until more investigation is done in the two level index issue. Release note: None
pbardea
added a commit
to pbardea/cockroach
that referenced
this issue
Sep 18, 2019
Setting the IndexBlockSize to MaxInt disables two level indexes. Using two level indexes cause issues restoring some registration cluster backups. This change servers as a work-around until cockroachdb/pebble#285 is resolved. Release justification: RESTOREs on registration cluster backups started failing after enabling two level indexes in Pebble. This was a release blocking bug and this fix allows these backups to be restored again until more investigation is done in the two level index issue. Release note: None
craig bot
pushed a commit
to cockroachdb/cockroach
that referenced
this issue
Sep 19, 2019
40888: bulk: disable two level index in Pebble r=pbardea a=pbardea Setting the IndexBlockSize to MaxInt disables two level indexes. Using two level indexes cause issues restoring some registration cluster backups. This change servers as a work-around until cockroachdb/pebble#285 is resolved. Fixes #40670. Release justification: RESTOREs on registration cluster backups started failing after enabling two level indexes in Pebble. This was a release blocking bug and this fix allows these backups to be restored again until more investigation is done in the two level index issue. Release note: None Co-authored-by: Paul Bardea <[email protected]>
I'm about 90% certain the problem is that we're reading the table using |
petermattis
added a commit
that referenced
this issue
Sep 20, 2019
Currently this disables usage of the RocksDB sstable footer and two-level indexes. Fixes #285
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doing a RESTORE on a registration backup cluster was causing an error (see: cockroachdb/cockroach#40670). Disabling two level indexes in Pebble. The first commit that introduced this issue was a Pebble version change: cockroachdb/cockroach@1c1c8ee (which, among other changes, introduced the two level index writer).
This can be reproduced on current CockroachDB current master (8e15411a18211652792baa92369c6cd02deff15c).
Reproduction steps:
The text was updated successfully, but these errors were encountered: