-
Notifications
You must be signed in to change notification settings - Fork 600
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
storage: compactor produced keys are not ordered #2219
Comments
Maybe caused by #2122 |
Level1 SSTs is not ordered in the compaction task when trying to expand the L0 input SSTs set for compaction. |
Update: It is fixed by #2245. Not realtes to this issue. I also encounter some problems, but I' m not sure it is due to Compaction (or my own code problems). When I use table id to replace the keyspace encoding of Simple Agg, I get panic when comparing key: In my opinion, I would suspect that compaction may not be able to extend user key with epoch in some scenarios (e.g. Simple Agg, the keyspace is just a |
Still not resolved. reproduced at https://github.com/singularity-data/risingwave/actions/runs/2244511049 |
Digging into the codes and the logs a little bit. The bug is caused by missing to select all overlapping L1 files as the input sst for compaction, which then causes overlaps in L1 SSTs. Assume
Here is what happned:
The expected input set is |
Debugging tips:
|
Fixed in #2242 |
https://github.com/singularity-data/risingwave/runs/6221697790?check_suite_focus=true
The text was updated successfully, but these errors were encountered: