Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Duplicate Scheduling of Index Rollover in ADIndexManagement (#1231)…
… (#1233) ADIndexManagement inherits from IndexManagement, which implements LocalNodeClusterManagerListener, causing it to listen for master node changes. This listener schedules index rollover and deletion. However, ADIndexManagement was inadvertently listening to the cluster manager event again, leading to duplicate scheduling of these tasks. This commit removes the redundant listener call in ADIndexManagement, ensuring that index rollover and deletion are scheduled only once per interval. Testing: Verified that index rollover and deletion now execute once per interval as expected. (cherry picked from commit 744a24f) Signed-off-by: Kaituo Li <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information