Skip to content

DB.Close() should error on leaked snapshots #1986

@erikgrinaker

Description

@erikgrinaker

DB.Close() will return an error if any iterators are still open, to avoid iterator leaks. However, it does not appear to error on open snapshots. It would be nice if it did, since we've found a few instances of these in CRDB.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions