milvus/pkg
congqixia 6b348e4e91
enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322)
Cherry-pick from master
pr: #33063
See also #33062

This PR:

- Add lock.RWMutex & lock.Mutex alias to switch implementation based on
build flags
- When build flags has test in it, use go-deadlock to detect possible
deadlocks
- Replace all sync.RWMutex & sync.Mutex in datacoord pkg

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-07-02 18:48:10 +08:00
..
common enhance: [cherry-pick] Refine index code and support analyze data (#34311) 2024-07-02 09:50:39 +08:00
config fix: [2.4] Compare config value then swap when caching param value (#33785) (#33797) 2024-06-13 17:51:57 +08:00
eventlog enhance:don't store logPath in meta to reduce memory (#28873) 2024-01-18 22:06:31 +08:00
kv enhance: move rocksmq from internal to pkg (#34165) 2024-06-26 13:36:05 +08:00
log fix: log can not reduce level (#28750) 2023-11-28 10:02:27 +08:00
metrics feat: [cherry-pick] Major compaction (#34326) 2024-07-02 18:29:01 +08:00
mq fix: Fix panic due to failed to seek (#34229) (#34230) 2024-07-01 16:08:12 +08:00
tracer fix:[Cherry-Pick] can't generate traceID when use noop exporter (#33191) (#33208) 2024-05-22 11:13:39 +08:00
util feat: [cherry-pick] Major compaction (#34326) 2024-07-02 18:29:01 +08:00
go.mod enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +08:00
go.sum enhance: [2.4] Add go-deadlock as unittest only dependency (#33063) (#34322) 2024-07-02 18:48:10 +08:00
Makefile Add the mock factory of msg stream (#27834) 2023-10-20 20:14:08 +08:00
rules.go Add back gocritic linter and fix related issues (#27289) 2023-09-22 10:05:26 +08:00