Obtaining the gc-before time, or the min-live timestamps (with the expiry threshold) is not always trivial, so defer it until we know it is needed. Not all reads will attempt to garbage-collect tombstones, these reads can now avoid this work. The downside is that the partition key has to be copied and stored, as it is necessary for obtaining the min-live timestamp later.
53 KiB
53 KiB