Skip to content

Tablet may write chop information to the metadata table after its closed. #2222

@keith-turner

Description

@keith-turner

Describe the bug

When CompactableImpl writes chop information here it could happen after close() was called. When a tablet calls CompactableImpl.close() it expects the call to block until all ongoing metadata writes related to compactions are complete AND prevent any new writes from occurring after the close() call returns. This expectation is not being met when writing chop information to the metadata table.

Expected behavior

CompactableImpl.close() will block if there are any ongoing metadata chop writes and prevent any new ones from starting after it returns.

Metadata

Metadata

Assignees

Labels

bugThis issue has been verified to be a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions