mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
rename
This commit is contained in:
parent
ba73199174
commit
1877ce5126
|
@ -377,6 +377,6 @@ func (f *Filer) doListDirectoryEntries(ctx context.Context, p util.FullPath, sta
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *Filer) Shutdown() {
|
func (f *Filer) Shutdown() {
|
||||||
f.LocalMetaLogBuffer.Shutdown()
|
f.LocalMetaLogBuffer.ShutdownLogBuffer()
|
||||||
f.Store.Shutdown()
|
f.Store.Shutdown()
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,7 +132,7 @@ func (logBuffer *LogBuffer) IsStopping() bool {
|
||||||
return logBuffer.isStopping.Load()
|
return logBuffer.isStopping.Load()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (logBuffer *LogBuffer) Shutdown() {
|
func (logBuffer *LogBuffer) ShutdownLogBuffer() {
|
||||||
isAlreadyStopped := logBuffer.isStopping.Swap(true)
|
isAlreadyStopped := logBuffer.isStopping.Swap(true)
|
||||||
if isAlreadyStopped {
|
if isAlreadyStopped {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue