mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
[skip ci]Add comments for rocksmq close (#9519)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
30395cb1b1
commit
969c78e79d
@ -166,6 +166,10 @@ func NewRocksMQ(name string, idAllocator allocator.GIDAllocator) (*rocksmq, erro
|
||||
return rmq, nil
|
||||
}
|
||||
|
||||
// Close step:
|
||||
// 1. Stop retention
|
||||
// 2. Destroy all consumer groups and topics
|
||||
// 3. Close rocksdb instance
|
||||
func (rmq *rocksmq) Close() {
|
||||
rmq.stopRetention()
|
||||
rmq.storeMu.Lock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user