From e71f6355616f067c8143f064eccaffa2a7975911 Mon Sep 17 00:00:00 2001 From: lhy1024 Date: Fri, 24 May 2024 11:50:49 +0800 Subject: [PATCH] refactor Signed-off-by: lhy1024 --- pkg/cache/priority_queue.go | 13 ------------- pkg/schedule/checker/priority_inspector.go | 8 ++++++++ pkg/schedule/coordinator.go | 12 +++++++----- server/cluster/cluster_test.go | 3 ++- tools/pd-simulator/main.go | 4 ++-- 5 files changed, 19 insertions(+), 21 deletions(-) diff --git a/pkg/cache/priority_queue.go b/pkg/cache/priority_queue.go index 8598c15820d..de209f94e06 100644 --- a/pkg/cache/priority_queue.go +++ b/pkg/cache/priority_queue.go @@ -16,7 +16,6 @@ package cache import ( "github.com/tikv/pd/pkg/btree" - "github.com/tikv/pd/pkg/utils/syncutil" ) // defaultDegree default btree degree, the depth is h