You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before cockroachdb#2641, we had a conditional to explicitly schedule deletion of
obsolete files in db.Close(). We took it out as part of the
deletion refactor as the comment on it made it seem no longer necessary.
However, the code for readState.unrefLocked(), which we call earlier in Close(),
explicitly states that it does not schedule obsolete file deletion and
that it expects the caller to schedule that. Since we're calling
readState.unrefLocked() here, we should be doing said deletion.
Fixescockroachdb#2708.
Before #2641, we had a conditional to explicitly schedule deletion of
obsolete files in db.Close(). We took it out as part of the
deletion refactor as the comment on it made it seem no longer necessary.
However, the code for readState.unrefLocked(), which we call earlier in Close(),
explicitly states that it does not schedule obsolete file deletion and
that it expects the caller to schedule that. Since we're calling
readState.unrefLocked() here, we should be doing said deletion.
Fixes#2708.
https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_Nightlies_NightlyPebbleMetamorphicCrossversion/10780113?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildChangesSection=true&expandBuildProblemsSection=true&expandBuildTestsSection=true
The text was updated successfully, but these errors were encountered: