milvus/internal
XuanYang-cn eef295465a
Fix timetick inconsistency in drop collection (#15408)
When rootcoord drops a collection, it'll produce a `drop-collection DDL` msg
and one last timetick into DML channels of this collection.
So that when DataNode receives this msg, DN can release the resources for the specific collection.

Before this PR, RootCoord produced these two msgs with an older timestamp, generated
before many time-consuming RPCs.

Once these RPCs spend more time than timetick producing interval, the timetick of these 2 msgs are
older to the channel current timestamp, causing in-consistency in time, thus
making msgstream fail to consume the last `drop-collection DDL` msg.

This PR generates a new timestamp for `drop-collection DDL` msg and timetick msg after those time-consuming
RPCs

Fixes: #15406

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2022-01-28 20:49:41 +08:00
..
allocator [skip e2e] Improve log in allocator/id.go (#14826) 2022-01-05 14:31:30 +08:00
common Fix datarace between GetComponentStates and Register (#11935) 2021-11-19 13:57:12 +08:00
core Make SearchResults and QueryResults return collectionID (#15377) 2022-01-27 22:55:41 +08:00
datacoord Refine time sync logic log (#15251) 2022-01-27 11:25:41 +08:00
datanode Fix datanode flush manager injection unit test (#15358) 2022-01-27 10:23:40 +08:00
distributed RootCoord set healthy state after registered service (#15261) 2022-01-18 12:09:37 +08:00
indexcoord Time Tick Failed need log (#15225) 2022-01-14 23:55:34 +08:00
indexnode Load index meta in every retry (#15376) 2022-01-25 13:28:05 +08:00
kv [skip e2e] Add comment and implementation assertion for EmbedEtcdKV (#14905) 2022-01-06 13:32:27 +08:00
log [skip ci]Fix error log output format in log.go (#13101) 2021-12-09 19:43:39 +08:00
logutil [skip e2e] Add comment for logutil (#14666) 2021-12-31 14:25:52 +08:00
metrics Enable pprof service (#13979) 2021-12-23 11:39:10 +08:00
msgstream [skip e2e] Improve annotation (#14709) 2022-01-05 14:02:47 +08:00
proto Make SearchResults and QueryResults return collectionID (#15377) 2022-01-27 22:55:41 +08:00
proxy Make SearchResults and QueryResults return collectionID (#15377) 2022-01-27 22:55:41 +08:00
querycoord Delete ut's useless param for genCollectionSchema (#15119) 2022-01-26 14:21:40 +08:00
querynode Fixbug: QueryNode search exceptions will cause memory leak (#15305) 2022-01-24 21:19:39 +08:00
rootcoord Fix timetick inconsistency in drop collection (#15408) 2022-01-28 20:49:41 +08:00
storage Fix storage memory leak caused by runtime.SetFinalizer (#15100) 2022-01-10 17:13:35 +08:00
tso [skip e2e]Update license for tso (#14541) 2021-12-29 22:49:59 +08:00
types QueryNodes send search/query results by rpc (#15223) 2022-01-17 14:41:35 +08:00
util Fix subscription path (#15373) 2022-01-25 13:27:44 +08:00