1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-27 13:00:04 +02:00
This commit is contained in:
chrislu 2024-01-15 21:31:21 -08:00
parent ba73199174
commit 1877ce5126
2 changed files with 2 additions and 2 deletions

View file

@ -377,6 +377,6 @@ func (f *Filer) doListDirectoryEntries(ctx context.Context, p util.FullPath, sta
}
func (f *Filer) Shutdown() {
f.LocalMetaLogBuffer.Shutdown()
f.LocalMetaLogBuffer.ShutdownLogBuffer()
f.Store.Shutdown()
}

View file

@ -132,7 +132,7 @@ func (logBuffer *LogBuffer) IsStopping() bool {
return logBuffer.isStopping.Load()
}
func (logBuffer *LogBuffer) Shutdown() {
func (logBuffer *LogBuffer) ShutdownLogBuffer() {
isAlreadyStopped := logBuffer.isStopping.Swap(true)
if isAlreadyStopped {
return