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
Several sstables used as golden files in write tests for MC format fail to work with sstabledump #4043
Comments
golden_sstables_dumps-scylla.txt was generated with the same command as previously but using sstabledump from scylla-java-tools not from Cassandra. The same sstables fail except for one: scylla/tests/sstables/3.x/uncompressed/write_different_types/mc-1-big-Data.db which works ok with sstabledump from scylla-java-tools. |
Running with Benny's pathset (https://github.com/bhalevy/scylla/commits/projects/gc_clock_64/WIP) makes no difference. Same sstables are failing. |
I checked and all those sstables are actually used in the tests. |
For For others, that's odd and unfortunate they fail, I clearly remember at least some of them succeeding earlier. Most files can be generated using the CQL statements from tests comments to double check the validity, may be a bit harder for I'd suspect that most if not all failures are caused by something around Statistics.db as data files are binary-compared, but that's merely a guess. |
Btw, if that helps, I used to use the |
Thanks @argenet - this is very useful. I will focus first on sstables other than write_compact_table, write_shadowable_deletion and *_many_partitions then. |
I looked a bit closer and I think all failures except
I have re-added Same applies to the That basically leaves us with the only failing |
thanks @argenet |
I tried copying the required Statistics files from sstable_3_x_test output directories. FWIW, Other than that, There is an empty line in |
@bhalevy BTW write_different_types fails with cassandra's sstabledump but works fine with the one from scylla-java-tools. |
For
This may as well be an |
I tried with a newer version of sstabledump and it worked - I guess I was just using too old version. |
bottom line we need to add support for the shadowable tombstone in sstabledump (#4056) merge the patches that "reintroduce" the statistics.db back into the repo. |
Refs #4043 Signed-off-by: Benny Halevy <bhalevy@scylladb.com> Message-Id: <20190103112511.23488-1-bhalevy@scylladb.com>
To be able to verify the golden version with sstabledump. These files were generated by running sstable_3_x_test and keeping its generated output files. Refs #4043 Signed-off-by: Benny Halevy <bhalevy@scylladb.com> Message-Id: <20190103112511.23488-2-bhalevy@scylladb.com>
Refs #4043 Signed-off-by: Benny Halevy <bhalevy@scylladb.com> Message-Id: <20190103112511.23488-1-bhalevy@scylladb.com>
To be able to verify the golden version with sstabledump. These files were generated by running sstable_3_x_test and keeping its generated output files. Refs #4043 Signed-off-by: Benny Halevy <bhalevy@scylladb.com> Message-Id: <20190103112511.23488-2-bhalevy@scylladb.com>
#4056 is fixed now so I guess we could close this one too. |
golden_sstables_dumps.txt was generated using the following bash command:
Following sstables fail:
The text was updated successfully, but these errors were encountered: