Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Dec 11, 2024
1 parent 3bd961a commit 81be994
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions horaedb/metric_engine/src/compaction/picker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
// specific language governing permissions and limitations
// under the License.

use std::{
collections::{BTreeMap, BTreeSet, HashMap},
time::Duration,
};
use std::{collections::BTreeMap, time::Duration};

use tracing::debug;

Expand Down Expand Up @@ -177,7 +174,7 @@ mod tests {
.pick_candidate(ssts.clone(), Some(15.into()))
.unwrap();

// ssts should be grouped by tree segments:
// ssts should be grouped into three segments:
// | 0 1 | 2 3 | 4 |
let excepted_task = Task {
inputs: vec![ssts[3].clone(), ssts[2].clone()],
Expand Down

0 comments on commit 81be994

Please sign in to comment.