bigtable/bttest: ModifyColumnFamilies should be synchronous and blocking #4202
Labels
api: bigtable
Issues related to the Bigtable API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Expected behavior
In production bigtable, ModifyColumnFamilies is a slow-running operation. Once complete, any dropped column families will no longer be returned by row scans. bigtable emulator should replicate this behavior. An example flow:
Tested vs. production bigtable.
Actual behavior
bttest's ModifyColumnFamilies returns quickly and leaves the actual data purge up to background garbage collection. Subsequent row scans can return data that doesn't exist. If a column family is re-created in the interim, the data is never purged. An example flow:
The text was updated successfully, but these errors were encountered: