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
As a result of analyzing #11339, it was determined there is an issue with the final stage of compaction during the exchange of old with new TSM files. Specifically, if an error occurs during the FileStore.replace call, which is called indirectly via ReplaceWithCallback in the compactGroup API:
stuartcarnie
changed the title
Temporary TSM files not cleaned up when compaction fails
Temporary TSM files not cleaned up when compaction rename fails
Jun 4, 2019
As a result of analyzing #11339, it was determined there is an issue with the final stage of compaction during the exchange of old with new TSM files. Specifically, if an error occurs during the
FileStore.replace
call, which is called indirectly viaReplaceWithCallback
in thecompactGroup
API:influxdb/tsdb/engine/tsm1/engine.go
Lines 2209 to 2214 in aa3dfc0
Note that the error is simply logged.
Alternatively, when a level-0 (cache snapshot) is written and
Replace
fails, the temporary files are cleaned up:influxdb/tsdb/engine/tsm1/engine.go
Lines 1925 to 1933 in aa3dfc0
Per #11339,
FileStore.replace
failed because the server was low on memory and was unable tommap
the new TSM files.The text was updated successfully, but these errors were encountered: