[skip ci]Add comments for rocksmq DestroyTopic (#9735)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/9747/head
yukun 2021-10-12 19:37:20 +08:00 committed by GitHub
parent d5e179e70b
commit e3ce1696e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ func (rmq *rocksmq) CreateTopic(topicName string) error {
return nil
}
// DestroyTopic removes messages for topic in rocksdb
func (rmq *rocksmq) DestroyTopic(topicName string) error {
start := time.Now()
beginKey := topicName + "/begin_id"