milvus/internal/querycoordv2
wei liu e98c62abbb
enhance: refactor leader_observer to leader_checker (#29454)
issue: #29453 

sync distribution by rpc will also call loadSegment/releaseSegment,
which may cause all kinds of concurrent case on same segment, such as
concurrent load and release on one segment.
This PR add leader_checker which generate load/release task to correct
the leader view, instead of calling sync distribution by rpc

---------

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-01-05 15:54:55 +08:00
..
balance fix: make sure balance candidate is alway pushed back (#29702) 2024-01-05 10:08:47 +08:00
checkers enhance: refactor leader_observer to leader_checker (#29454) 2024-01-05 15:54:55 +08:00
dist feat: enable balance based on growing segment row count (#28623) 2023-11-27 14:58:26 +08:00
job Fix the target updated before version updated to cause data missing (#28250) 2023-11-08 11:36:22 +08:00
meta fix: Add atomic method to get collection target (#29577) 2023-12-29 09:04:46 +08:00
mocks Moving etcd client into session (#27069) 2023-10-27 07:36:12 +08:00
observers enhance: refactor leader_observer to leader_checker (#29454) 2024-01-05 15:54:55 +08:00
params Moving etcd client into session (#27069) 2023-10-27 07:36:12 +08:00
session enhance: Change const magic number in querycoord to param (#28819) 2023-11-30 09:06:28 +08:00
task enhance: refactor leader_observer to leader_checker (#29454) 2024-01-05 15:54:55 +08:00
utils enhance: refactor leader_observer to leader_checker (#29454) 2024-01-05 15:54:55 +08:00
handlers.go disable auto balance when old node exists (#28191) 2023-11-07 14:02:20 +08:00
ops_services.go enhance: refactor leader_observer to leader_checker (#29454) 2024-01-05 15:54:55 +08:00
OWNERS Add QueryCoord OWNERS file (#21552) 2023-01-10 16:15:37 +08:00
server_test.go enhance: refactor leader_observer to leader_checker (#29454) 2024-01-05 15:54:55 +08:00
server.go enhance: refactor leader_observer to leader_checker (#29454) 2024-01-05 15:54:55 +08:00
services_test.go enhance: refactor leader_observer to leader_checker (#29454) 2024-01-05 15:54:55 +08:00
services.go fix: Choose wrong shard leader during balance channel (#29529) 2023-12-28 15:22:51 +08:00