The Tombstone That Stays
A tablet holds four SSTables written in this order, oldest first.
| file | contents for row user#42 |
|---|---|
| SST-1 | email = a@x.com |
| SST-2 | email = b@x.com |
| SST-3 | deletion entry for email |
| SST-4 | (nothing for this row) |
A background merging compaction rewrites only SST-3 and SST-4 into a single new file. SST-1 and SST-2 are not inputs. What does the output file contain for user#42, and why?
Sign in to answer questions and track your progress
Sign In