-
-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededtest
Description
This is a long-term ticket to improve code coverage by removing missed mutants.
Some are low-hanging fruits, but I will donate 10€ to cargo-mutants for every actual bug the mutation tests find.
Here's the result of a cargo-mutants run I did as of 6aedd07:
src/abstract.rs:176:9: replace AbstractTree::stale_blob_bytes -> u64 with 1
src/abstract.rs:27:9: replace AbstractTree::version_memtable_size_sum -> u64 with 0
src/abstract.rs:27:9: replace AbstractTree::version_memtable_size_sum -> u64 with 1
src/blob_tree/gc.rs:149:33: replace += with *= in <impl ExpiredKvCallback for FragmentationMap>::on_expired
src/blob_tree/gc.rs:56:9: replace FragmentationMap::stale_bytes -> u64 with 0
src/blob_tree/gc.rs:56:9: replace FragmentationMap::stale_bytes -> u64 with 1
src/blob_tree/gc.rs:63:9: replace FragmentationMap::prune with ()
src/blob_tree/handle.rs:20:22: replace == with != in <impl PartialEq for BlobIndirection>::eq
src/blob_tree/handle.rs:20:39: replace && with || in <impl PartialEq for BlobIndirection>::eq
src/blob_tree/handle.rs:20:9: replace <impl PartialEq for BlobIndirection>::eq -> bool with false
src/blob_tree/handle.rs:20:9: replace <impl PartialEq for BlobIndirection>::eq -> bool with true
src/blob_tree/mod.rs:157:24: replace + with * in BlobTree::open
src/blob_tree/mod.rs:174:9: replace <impl AbstractTree for BlobTree>::table_file_cache_size -> usize with 0
src/blob_tree/mod.rs:174:9: replace <impl AbstractTree for BlobTree>::table_file_cache_size -> usize with 1
src/blob_tree/mod.rs:184:9: replace <impl AbstractTree for BlobTree>::next_table_id -> TableId with Default::default()
src/blob_tree/mod.rs:188:9: replace <impl AbstractTree for BlobTree>::id -> crate::TreeId with Default::default()
src/blob_tree/mod.rs:192:9: replace <impl AbstractTree for BlobTree>::get_internal_entry -> crate::Result<Option<InternalValue>> with Ok(None)
src/blob_tree/mod.rs:201:9: replace <impl AbstractTree for BlobTree>::metrics -> &Arc<crate::Metrics> with &Arc::new(Default::default())
src/blob_tree/mod.rs:205:9: replace <impl AbstractTree for BlobTree>::version_free_list_len -> usize with 0
src/blob_tree/mod.rs:205:9: replace <impl AbstractTree for BlobTree>::version_free_list_len -> usize with 1
src/blob_tree/mod.rs:261:9: replace <impl AbstractTree for BlobTree>::weak_tombstone_count -> u64 with 0
src/blob_tree/mod.rs:261:9: replace <impl AbstractTree for BlobTree>::weak_tombstone_count -> u64 with 1
src/blob_tree/mod.rs:265:9: replace <impl AbstractTree for BlobTree>::weak_tombstone_reclaimable_count -> u64 with 1
src/blob_tree/mod.rs:277:9: replace <impl AbstractTree for BlobTree>::clear_active_memtable with ()
src/blob_tree/mod.rs:281:9: replace <impl AbstractTree for BlobTree>::l0_run_count -> usize with 0
src/blob_tree/mod.rs:281:9: replace <impl AbstractTree for BlobTree>::l0_run_count -> usize with 1
src/blob_tree/mod.rs:291:9: replace <impl AbstractTree for BlobTree>::size_of -> crate::Result<Option<u32>> with Ok(None)
src/blob_tree/mod.rs:291:9: replace <impl AbstractTree for BlobTree>::size_of -> crate::Result<Option<u32>> with Ok(Some(0))
src/blob_tree/mod.rs:291:9: replace <impl AbstractTree for BlobTree>::size_of -> crate::Result<Option<u32>> with Ok(Some(1))
src/blob_tree/mod.rs:308:9: replace <impl AbstractTree for BlobTree>::stale_blob_bytes -> u64 with 0
src/blob_tree/mod.rs:308:9: replace <impl AbstractTree for BlobTree>::stale_blob_bytes -> u64 with 1
src/blob_tree/mod.rs:312:9: replace <impl AbstractTree for BlobTree>::filter_size -> usize with 0
src/blob_tree/mod.rs:312:9: replace <impl AbstractTree for BlobTree>::filter_size -> usize with 1
src/blob_tree/mod.rs:316:9: replace <impl AbstractTree for BlobTree>::pinned_filter_size -> usize with 0
src/blob_tree/mod.rs:316:9: replace <impl AbstractTree for BlobTree>::pinned_filter_size -> usize with 1
src/blob_tree/mod.rs:320:9: replace <impl AbstractTree for BlobTree>::pinned_block_index_size -> usize with 0
src/blob_tree/mod.rs:320:9: replace <impl AbstractTree for BlobTree>::pinned_block_index_size -> usize with 1
src/blob_tree/mod.rs:324:9: replace <impl AbstractTree for BlobTree>::sealed_memtable_count -> usize with 0
src/blob_tree/mod.rs:363:16: replace * with + in <impl AbstractTree for BlobTree>::flush_to_tables
src/blob_tree/mod.rs:363:24: replace * with + in <impl AbstractTree for BlobTree>::flush_to_tables
src/blob_tree/mod.rs:503:9: replace <impl AbstractTree for BlobTree>::set_active_memtable with ()
src/blob_tree/mod.rs:519:9: replace <impl AbstractTree for BlobTree>::get_next_table_id -> TableId with Default::default()
src/blob_tree/mod.rs:527:9: replace <impl AbstractTree for BlobTree>::get_highest_seqno -> Option<SeqNo> with None
src/blob_tree/mod.rs:527:9: replace <impl AbstractTree for BlobTree>::get_highest_seqno -> Option<SeqNo> with Some(Default::default())
src/blob_tree/mod.rs:547:9: replace <impl AbstractTree for BlobTree>::level_table_count -> Option<usize> with None
src/blob_tree/mod.rs:547:9: replace <impl AbstractTree for BlobTree>::level_table_count -> Option<usize> with Some(0)
src/blob_tree/mod.rs:547:9: replace <impl AbstractTree for BlobTree>::level_table_count -> Option<usize> with Some(1)
src/blob_tree/mod.rs:563:9: replace <impl AbstractTree for BlobTree>::contains_key -> crate::Result<bool> with Ok(true)
src/blob_tree/mod.rs:573:9: replace <impl AbstractTree for BlobTree>::disk_space -> u64 with 0
src/blob_tree/mod.rs:573:9: replace <impl AbstractTree for BlobTree>::disk_space -> u64 with 1
src/blob_tree/mod.rs:574:33: replace + with * in <impl AbstractTree for BlobTree>::disk_space
src/blob_tree/mod.rs:574:33: replace + with - in <impl AbstractTree for BlobTree>::disk_space
src/blob_tree/mod.rs:578:9: replace <impl AbstractTree for BlobTree>::get_highest_memtable_seqno -> Option<SeqNo> with None
src/blob_tree/mod.rs:578:9: replace <impl AbstractTree for BlobTree>::get_highest_memtable_seqno -> Option<SeqNo> with Some(Default::default())
src/blob_tree/mod.rs:582:9: replace <impl AbstractTree for BlobTree>::get_highest_persisted_seqno -> Option<SeqNo> with None
src/blob_tree/mod.rs:582:9: replace <impl AbstractTree for BlobTree>::get_highest_persisted_seqno -> Option<SeqNo> with Some(Default::default())
src/blob_tree/mod.rs:626:9: replace <impl AbstractTree for BlobTree>::remove_weak -> (u64, u64) with (0, 0)
src/blob_tree/mod.rs:626:9: replace <impl AbstractTree for BlobTree>::remove_weak -> (u64, u64) with (0, 1)
src/blob_tree/mod.rs:626:9: replace <impl AbstractTree for BlobTree>::remove_weak -> (u64, u64) with (1, 0)
src/blob_tree/mod.rs:626:9: replace <impl AbstractTree for BlobTree>::remove_weak -> (u64, u64) with (1, 1)
src/cache.rs:112:9: replace Cache::size -> u64 with 0
src/cache.rs:112:9: replace Cache::size -> u64 with 1
src/cache.rs:118:9: replace Cache::capacity -> u64 with 0
src/cache.rs:118:9: replace Cache::capacity -> u64 with 1
src/cache.rs:124:9: replace Cache::len -> usize with 0
src/cache.rs:124:9: replace Cache::len -> usize with 1
src/cache.rs:130:9: replace Cache::is_empty -> bool with false
src/cache.rs:130:9: replace Cache::is_empty -> bool with true
src/cache.rs:136:9: replace Cache::get_block -> Option<Block> with None
src/cache.rs:146:9: replace Cache::insert_block with ()
src/cache.rs:172:9: replace Cache::get_blob -> Option<UserValue> with None
src/cache.rs:25:16: replace == with != in <impl Equivalent for (u8, u64, u64, u64)>::equivalent
src/cache.rs:25:25: replace && with || in <impl Equivalent for (u8, u64, u64, u64)>::equivalent
src/cache.rs:25:35: replace == with != in <impl Equivalent for (u8, u64, u64, u64)>::equivalent
src/cache.rs:25:54: replace == with != in <impl Equivalent for (u8, u64, u64, u64)>::equivalent
src/cache.rs:25:63: replace && with || in <impl Equivalent for (u8, u64, u64, u64)>::equivalent
src/cache.rs:25:73: replace == with != in <impl Equivalent for (u8, u64, u64, u64)>::equivalent
src/cache.rs:25:9: replace <impl Equivalent for (u8, u64, u64, u64)>::equivalent -> bool with false
src/cache.rs:25:9: replace <impl Equivalent for (u8, u64, u64, u64)>::equivalent -> bool with true
src/cache.rs:40:9: replace <impl Weighter for BlockWeighter>::weight -> u64 with 0
src/cache.rs:40:9: replace <impl Weighter for BlockWeighter>::weight -> u64 with 1
src/cache.rs:43:59: replace + with * in <impl Weighter for BlockWeighter>::weight
src/checksum.rs:17:9: replace <impl Display for Checksum>::fmt -> std::fmt::Result with Ok(Default::default())
src/checksum.rs:35:9: replace Checksum::check -> crate::Result<()> with Ok(())
src/checksum.rs:76:9: replace <impl Write for ChecksummedWriter<W>>::flush -> std::io::Result<()> with Ok(())
src/compaction/drop_range.rs:72:9: replace <impl CompactionStrategy for Strategy>::get_name -> &'static str with ""
src/compaction/drop_range.rs:72:9: replace <impl CompactionStrategy for Strategy>::get_name -> &'static str with "xyzzy"
src/compaction/fifo.rs:116:72: replace + with * in <impl CompactionStrategy for Strategy>::choose
src/compaction/fifo.rs:116:72: replace + with - in <impl CompactionStrategy for Strategy>::choose
src/compaction/fifo.rs:127:44: replace - with + in <impl CompactionStrategy for Strategy>::choose
src/compaction/fifo.rs:127:44: replace - with / in <impl CompactionStrategy for Strategy>::choose
src/compaction/fifo.rs:143:70: replace + with * in <impl CompactionStrategy for Strategy>::choose
src/compaction/fifo.rs:143:70: replace + with - in <impl CompactionStrategy for Strategy>::choose
src/compaction/fifo.rs:50:9: replace <impl CompactionStrategy for Strategy>::get_name -> &'static str with ""
src/compaction/fifo.rs:50:9: replace <impl CompactionStrategy for Strategy>::get_name -> &'static str with "xyzzy"
src/compaction/fifo.rs:54:9: replace <impl CompactionStrategy for Strategy>::get_config -> Vec<KvPair> with vec![]
src/compaction/fifo.rs:90:42: replace + with - in <impl CompactionStrategy for Strategy>::choose
src/compaction/flavour.rs:140:25: replace || with && in RelocatingCompaction::drain_blobs
src/compaction/flavour.rs:141:25: replace || with && in RelocatingCompaction::drain_blobs
src/compaction/flavour.rs:141:42: replace < with > in RelocatingCompaction::drain_blobs
src/compaction/flavour.rs:63:45: replace - with + in prepare_table_writer
src/compaction/flavour.rs:63:45: replace - with / in prepare_table_writer
src/compaction/flavour.rs:64:44: replace == with != in prepare_table_writer
src/compaction/leveled.rs:144:9: replace Strategy::with_level_ratio_policy -> Self with Default::default()
src/compaction/leveled.rs:158:9: replace Strategy::with_l0_threshold -> Self with Default::default()
src/compaction/leveled.rs:169:9: replace Strategy::with_table_target_size -> Self with Default::default()
src/compaction/leveled.rs:175:26: replace * with + in Strategy::level_base_size
src/compaction/leveled.rs:175:26: replace * with / in Strategy::level_base_size
src/compaction/leveled.rs:200:49: replace - with + in Strategy::level_target_size
src/compaction/leveled.rs:200:49: replace - with / in Strategy::level_target_size
src/compaction/leveled.rs:207:22: replace *= with += in Strategy::level_target_size
src/compaction/leveled.rs:207:22: replace *= with /= in Strategy::level_target_size
src/compaction/leveled.rs:217:9: replace <impl CompactionStrategy for Strategy>::get_name -> &'static str with ""
src/compaction/leveled.rs:217:9: replace <impl CompactionStrategy for Strategy>::get_name -> &'static str with "xyzzy"
src/compaction/leveled.rs:221:9: replace <impl CompactionStrategy for Strategy>::get_config -> Vec<crate::KvPair> with vec![]
src/compaction/leveled.rs:267:29: replace > with < in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:267:29: replace > with == in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:27:5: replace pick_minimal_compaction -> Option<(HashSet<TableId>, bool)> with None
src/compaction/leveled.rs:27:5: replace pick_minimal_compaction -> Option<(HashSet<TableId>, bool)> with Some((HashSet::from_iter([Default::default()]), false))
src/compaction/leveled.rs:279:37: delete ! in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:283:67: replace - with + in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:283:67: replace - with / in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:285:32: replace > with == in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:290:34: replace -= with += in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:290:34: replace -= with /= in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:291:29: replace -= with /= in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:301:21: replace || with && in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:348:64: replace / with * in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:363:33: delete ! in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:367:63: replace - with + in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:367:63: replace - with / in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:371:31: replace > with == in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:373:43: replace / with % in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:373:43: replace / with * in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:374:36: replace - with + in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:374:36: replace - with / in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:379:36: replace + with * in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:379:36: replace + with - in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:404:18: replace < with > in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:415:17: replace || with && in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:462:49: replace + with * in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:488:47: replace - with + in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:488:47: replace - with / in <impl CompactionStrategy for Strategy>::choose
src/compaction/leveled.rs:57:33: replace <= with > in pick_minimal_compaction
src/compaction/leveled.rs:57:40: replace * with + in pick_minimal_compaction
src/compaction/leveled.rs:57:40: replace * with / in pick_minimal_compaction
src/compaction/leveled.rs:88:58: replace / with % in pick_minimal_compaction
src/compaction/leveled.rs:88:58: replace / with * in pick_minimal_compaction
src/compaction/major.rs:33:9: replace <impl CompactionStrategy for Strategy>::get_name -> &'static str with ""
src/compaction/major.rs:33:9: replace <impl CompactionStrategy for Strategy>::get_name -> &'static str with "xyzzy"
src/compaction/movedown.rs:13:9: replace <impl CompactionStrategy for Strategy>::get_name -> &'static str with ""
src/compaction/movedown.rs:13:9: replace <impl CompactionStrategy for Strategy>::get_name -> &'static str with "xyzzy"
src/compaction/pulldown.rs:19:9: replace <impl CompactionStrategy for Strategy>::get_name -> &'static str with ""
src/compaction/pulldown.rs:19:9: replace <impl CompactionStrategy for Strategy>::get_name -> &'static str with "xyzzy"
src/compaction/state/hidden_set.rs:20:9: replace HiddenSet::hide with ()
src/compaction/state/hidden_set.rs:24:9: replace HiddenSet::show with ()
src/compaction/state/hidden_set.rs:30:9: replace HiddenSet::is_blocked -> bool with false
src/compaction/state/hidden_set.rs:34:9: replace HiddenSet::is_hidden -> bool with false
src/compaction/state/hidden_set.rs:38:9: replace HiddenSet::is_empty -> bool with false
src/compaction/state/hidden_set.rs:38:9: replace HiddenSet::is_empty -> bool with true
src/compaction/state/hidden_set.rs:45:9: replace HiddenSet::should_decline_compaction -> bool with false
src/compaction/state/mod.rs:24:9: replace CompactionState::hidden_set_mut -> &mut HiddenSet with Box::leak(Box::new(Default::default()))
src/compaction/stream.rs:105:40: replace > with < in <impl Iterator for CompactionStream<'_, I>>::next
src/compaction/worker.rs:144:47: replace > with < in create_compaction_stream
src/compaction/worker.rs:144:47: replace > with == in create_compaction_stream
src/compaction/worker.rs:172:19: replace += with *= in create_compaction_stream
src/compaction/worker.rs:172:19: replace += with -= in create_compaction_stream
src/compaction/worker.rs:172:25: replace - with + in create_compaction_stream
src/compaction/worker.rs:172:30: replace + with * in create_compaction_stream
src/compaction/worker.rs:172:30: replace + with - in create_compaction_stream
src/compaction/worker.rs:464:20: replace % with / in merge_tables
src/compaction/worker.rs:464:32: replace == with != in merge_tables
src/compression.rs:59:9: replace <impl Display for CompressionType>::fmt -> std::fmt::Result with Ok(Default::default())
src/config/block_size.rs:19:9: replace BlockSizePolicy::get -> u32 with 0
src/config/block_size.rs:19:9: replace BlockSizePolicy::get -> u32 with 1
src/config/hash_ratio.rs:19:9: replace HashRatioPolicy::get -> f32 with 0.0
src/config/hash_ratio.rs:19:9: replace HashRatioPolicy::get -> f32 with 1.0
src/config/mod.rs:123:9: replace KvSeparationOptions::file_target_size -> Self with Default::default()
src/config/mod.rs:319:9: replace Config::use_descriptor_table -> Self with Default::default()
src/config/mod.rs:329:9: replace Config::expect_point_read_hits -> Self with Default::default()
src/config/mod.rs:336:9: replace Config::filter_block_partitioning_policy -> Self with Default::default()
src/config/mod.rs:343:9: replace Config::index_block_partitioning_policy -> Self with Default::default()
src/config/mod.rs:350:9: replace Config::filter_block_pinning_policy -> Self with Default::default()
src/config/mod.rs:357:9: replace Config::index_block_pinning_policy -> Self with Default::default()
src/config/mod.rs:369:9: replace Config::data_block_restart_interval_policy -> Self with Default::default()
src/config/mod.rs:389:9: replace Config::filter_policy -> Self with Default::default()
src/config/mod.rs:438:9: replace Config::data_block_hash_ratio_policy -> Self with Default::default()
src/config/pinning.rs:19:9: replace PinningPolicy::get -> bool with false
src/config/pinning.rs:19:9: replace PinningPolicy::get -> bool with true
src/config/restart_interval.rs:19:9: replace RestartIntervalPolicy::get -> u8 with 1
src/descriptor_table.rs:39:9: replace DescriptorTable::len -> usize with 0
src/descriptor_table.rs:39:9: replace DescriptorTable::len -> usize with 1
src/descriptor_table.rs:44:9: replace DescriptorTable::clear with ()
src/descriptor_table.rs:49:9: replace DescriptorTable::access_for_table -> Option<Arc<File>> with None
src/descriptor_table.rs:54:9: replace DescriptorTable::insert_for_table with ()
src/descriptor_table.rs:60:9: replace DescriptorTable::access_for_blob_file -> Option<Arc<File>> with None
src/descriptor_table.rs:65:9: replace DescriptorTable::insert_for_blob_file with ()
src/double_ended_peekable.rs:195:9: replace MaybePeeked<T>::is_unpeeked -> bool with true
src/error.rs:47:9: replace <impl Display for Error>::fmt -> std::fmt::Result with Ok(Default::default())
src/error.rs:53:9: replace <impl Error for Error>::source -> Option<&(dyn std::error::Error +'static)> with None
src/file.rs:99:5: replace fsync_directory -> std::io::Result<()> with Ok(())
src/format_version.rs:20:9: replace <impl Display for FormatVersion>::fmt -> std::fmt::Result with Ok(Default::default())
src/hash.rs:6:5: replace hash128 -> u128 with 0
src/hash.rs:6:5: replace hash128 -> u128 with 1
src/key_range.rs:102:36: replace && with || in KeyRange::overlaps_with_bounds
src/key_range.rs:117:45: replace > with < in KeyRange::overlaps_with_bounds
src/key_range.rs:117:45: replace > with == in KeyRange::overlaps_with_bounds
src/key_range.rs:164:9: replace <impl Encode for KeyRange>::encode_into -> Result<(), crate::Error> with Ok(())
src/key_range.rs:21:9: replace <impl Display for KeyRange>::fmt -> std::fmt::Result with Ok(Default::default())
src/key_range.rs:76:9: replace KeyRange::contains_key -> bool with true
src/key_range.rs:77:23: replace && with || in KeyRange::contains_key
src/key.rs:17:9: replace <impl AsRef for InternalKey>::as_ref -> &[u8] with Vec::leak(vec![0])
src/key.rs:17:9: replace <impl AsRef for InternalKey>::as_ref -> &[u8] with Vec::leak(Vec::new())
src/key.rs:29:9: replace <impl Hash for InternalKey>::hash with ()
src/key.rs:36:9: replace <impl Debug for InternalKey>::fmt -> std::fmt::Result with Ok(Default::default())
src/memtable/mod.rs:139:38: replace + with * in Memtable::insert
src/memtable/mod.rs:139:57: replace + with * in Memtable::insert
src/memtable/mod.rs:153:33: replace + with * in Memtable::insert
src/memtable/mod.rs:51:9: replace Memtable::clear with ()
src/merge.rs:17:20: replace == with != in <impl PartialEq for HeapItem>::eq
src/merge.rs:17:9: replace <impl PartialEq for HeapItem>::eq -> bool with false
src/merge.rs:17:9: replace <impl PartialEq for HeapItem>::eq -> bool with true
src/metrics.rs:104:53: replace + with * in Metrics::filter_block_load_count
src/metrics.rs:104:53: replace + with - in Metrics::filter_block_load_count
src/metrics.rs:104:9: replace Metrics::filter_block_load_count -> usize with 0
src/metrics.rs:104:9: replace Metrics::filter_block_load_count -> usize with 1
src/metrics.rs:109:9: replace Metrics::block_load_io_count -> usize with 0
src/metrics.rs:109:9: replace Metrics::block_load_io_count -> usize with 1
src/metrics.rs:110:13: replace + with * in Metrics::block_load_io_count
src/metrics.rs:110:13: replace + with - in Metrics::block_load_io_count
src/metrics.rs:111:13: replace + with * in Metrics::block_load_io_count
src/metrics.rs:111:13: replace + with - in Metrics::block_load_io_count
src/metrics.rs:116:9: replace Metrics::index_block_load_cached_count -> usize with 0
src/metrics.rs:116:9: replace Metrics::index_block_load_cached_count -> usize with 1
src/metrics.rs:121:9: replace Metrics::filter_block_load_cached_count -> usize with 0
src/metrics.rs:121:9: replace Metrics::filter_block_load_cached_count -> usize with 1
src/metrics.rs:126:9: replace Metrics::block_load_cached_count -> usize with 0
src/metrics.rs:126:9: replace Metrics::block_load_cached_count -> usize with 1
src/metrics.rs:127:13: replace + with * in Metrics::block_load_cached_count
src/metrics.rs:127:13: replace + with - in Metrics::block_load_cached_count
src/metrics.rs:128:13: replace + with * in Metrics::block_load_cached_count
src/metrics.rs:128:13: replace + with - in Metrics::block_load_cached_count
src/metrics.rs:133:36: replace + with * in Metrics::block_loads
src/metrics.rs:133:9: replace Metrics::block_loads -> usize with 0
src/metrics.rs:133:9: replace Metrics::block_loads -> usize with 1
src/metrics.rs:138:9: replace Metrics::filter_block_cache_hit_rate -> f64 with 0.0
src/metrics.rs:138:9: replace Metrics::filter_block_cache_hit_rate -> f64 with -1.0
src/metrics.rs:138:9: replace Metrics::filter_block_cache_hit_rate -> f64 with 1.0
src/metrics.rs:141:20: replace == with != in Metrics::filter_block_cache_hit_rate
src/metrics.rs:144:18: replace / with % in Metrics::filter_block_cache_hit_rate
src/metrics.rs:144:18: replace / with * in Metrics::filter_block_cache_hit_rate
src/metrics.rs:150:9: replace Metrics::index_block_cache_hit_rate -> f64 with 0.0
src/metrics.rs:150:9: replace Metrics::index_block_cache_hit_rate -> f64 with -1.0
src/metrics.rs:150:9: replace Metrics::index_block_cache_hit_rate -> f64 with 1.0
src/metrics.rs:153:20: replace == with != in Metrics::index_block_cache_hit_rate
src/metrics.rs:156:18: replace / with % in Metrics::index_block_cache_hit_rate
src/metrics.rs:156:18: replace / with * in Metrics::index_block_cache_hit_rate
src/metrics.rs:162:9: replace Metrics::block_cache_hit_rate -> f64 with 0.0
src/metrics.rs:162:9: replace Metrics::block_cache_hit_rate -> f64 with -1.0
src/metrics.rs:162:9: replace Metrics::block_cache_hit_rate -> f64 with 1.0
src/metrics.rs:165:20: replace == with != in Metrics::block_cache_hit_rate
src/metrics.rs:168:18: replace / with % in Metrics::block_cache_hit_rate
src/metrics.rs:168:18: replace / with * in Metrics::block_cache_hit_rate
src/metrics.rs:176:9: replace Metrics::filter_efficiency -> f64 with 0.0
src/metrics.rs:176:9: replace Metrics::filter_efficiency -> f64 with -1.0
src/metrics.rs:176:9: replace Metrics::filter_efficiency -> f64 with 1.0
src/metrics.rs:179:20: replace == with != in Metrics::filter_efficiency
src/metrics.rs:182:24: replace / with % in Metrics::filter_efficiency
src/metrics.rs:182:24: replace / with * in Metrics::filter_efficiency
src/metrics.rs:188:9: replace Metrics::filter_queries -> usize with 0
src/metrics.rs:188:9: replace Metrics::filter_queries -> usize with 1
src/metrics.rs:193:9: replace Metrics::io_skipped_by_filter -> usize with 0
src/metrics.rs:193:9: replace Metrics::io_skipped_by_filter -> usize with 1
src/metrics.rs:60:9: replace Metrics::table_file_cache_hit_rate -> f64 with 0.0
src/metrics.rs:60:9: replace Metrics::table_file_cache_hit_rate -> f64 with -1.0
src/metrics.rs:60:9: replace Metrics::table_file_cache_hit_rate -> f64 with 1.0
src/metrics.rs:63:19: replace == with != in Metrics::table_file_cache_hit_rate
src/metrics.rs:66:20: replace / with % in Metrics::table_file_cache_hit_rate
src/metrics.rs:66:20: replace / with * in Metrics::table_file_cache_hit_rate
src/metrics.rs:72:9: replace Metrics::data_block_io -> u64 with 0
src/metrics.rs:72:9: replace Metrics::data_block_io -> u64 with 1
src/metrics.rs:77:9: replace Metrics::index_block_io -> u64 with 0
src/metrics.rs:77:9: replace Metrics::index_block_io -> u64 with 1
src/metrics.rs:82:9: replace Metrics::filter_block_io -> u64 with 0
src/metrics.rs:82:9: replace Metrics::filter_block_io -> u64 with 1
src/metrics.rs:87:9: replace Metrics::block_io -> u64 with 0
src/metrics.rs:87:9: replace Metrics::block_io -> u64 with 1
src/metrics.rs:88:13: replace + with * in Metrics::block_io
src/metrics.rs:88:13: replace + with - in Metrics::block_io
src/metrics.rs:89:13: replace + with * in Metrics::block_io
src/metrics.rs:89:13: replace + with - in Metrics::block_io
src/metrics.rs:94:51: replace + with * in Metrics::data_block_load_count
src/metrics.rs:94:51: replace + with - in Metrics::data_block_load_count
src/metrics.rs:94:9: replace Metrics::data_block_load_count -> usize with 0
src/metrics.rs:94:9: replace Metrics::data_block_load_count -> usize with 1
src/metrics.rs:99:52: replace + with * in Metrics::index_block_load_count
src/metrics.rs:99:52: replace + with - in Metrics::index_block_load_count
src/metrics.rs:99:9: replace Metrics::index_block_load_count -> usize with 0
src/metrics.rs:99:9: replace Metrics::index_block_load_count -> usize with 1
src/run_reader.rs:40:41: replace - with + in RunReader::culled
src/run_reader.rs:40:41: replace - with / in RunReader::culled
src/run_scanner.rs:24:41: replace - with + in RunScanner::culled
src/run_scanner.rs:24:41: replace - with / in RunScanner::culled
src/seqno.rs:80:9: replace SequenceNumberCounter::fetch_max with ()
src/slice/mod.rs:117:9: replace <impl Borrow for Slice>::borrow -> &[u8] with Vec::leak(vec![0])
src/slice/mod.rs:117:9: replace <impl Borrow for Slice>::borrow -> &[u8] with Vec::leak(vec![1])
src/slice/mod.rs:117:9: replace <impl Borrow for Slice>::borrow -> &[u8] with Vec::leak(Vec::new())
src/slice/mod.rs:132:9: replace <impl PartialEq for &[u8]>::eq -> bool with true
src/slice/slice_bytes/mod.rs:100:9: replace <impl From for Slice>::from -> Self with Default::default()
src/slice/slice_bytes/mod.rs:107:9: replace <impl From for Slice>::from -> Self with Default::default()
src/slice/slice_bytes/mod.rs:25:9: replace Slice::empty -> Self with Default::default()
src/slice/slice_bytes/mod.rs:47:9: replace Slice::slice -> Self with Default::default()
src/slice/slice_bytes/mod.rs:53:9: replace Slice::fused -> Self with Default::default()
src/slice/slice_bytes/mod.rs:55:30: replace + with * in Slice::fused
src/slice/slice_bytes/mod.rs:55:30: replace + with - in Slice::fused
src/slice/slice_bytes/mod.rs:72:9: replace Slice::from_reader -> std::io::Result<Self> with Ok(Default::default())
src/slice/slice_bytes/mod.rs:87:9: replace <impl From for Slice>::from -> Self with Default::default()
src/slice/slice_default/mod.rs:70:9: replace <impl From for ByteView>::from -> Self with Default::default()
src/stop_signal.rs:12:9: replace StopSignal::send with ()
src/stop_signal.rs:17:9: replace StopSignal::is_stopped -> bool with false
src/table/block/decoder.rs:135:9: replace Decoder<'a, Item, Parsed>::bytes -> &[u8] with Vec::leak(vec![0])
src/table/block/decoder.rs:135:9: replace Decoder<'a, Item, Parsed>::bytes -> &[u8] with Vec::leak(vec![1])
src/table/block/decoder.rs:135:9: replace Decoder<'a, Item, Parsed>::bytes -> &[u8] with Vec::leak(Vec::new())
src/table/block/decoder.rs:142:9: replace Decoder<'a, Item, Parsed>::len -> usize with 0
src/table/block/decoder.rs:142:9: replace Decoder<'a, Item, Parsed>::len -> usize with 1
src/table/block/decoder.rs:218:28: replace - with / in Decoder<'a, Item, Parsed>::partition_point
src/table/block/decoder.rs:271:9: replace Decoder<'a, Item, Parsed>::set_lo_offset with ()
src/table/block/hash_index/builder.rs:34:33: replace * with + in Builder::calculate_bucket_count
src/table/block/hash_index/builder.rs:34:33: replace * with / in Builder::calculate_bucket_count
src/table/block/hash_index/reader.rs:28:9: replace Reader<'a>::bucket_count -> usize with 1
src/table/block/hash_index/reader.rs:38:44: replace == with != in Reader<'a>::free_count
src/table/block/hash_index/reader.rs:38:9: replace Reader<'a>::free_count -> usize with 0
src/table/block/hash_index/reader.rs:38:9: replace Reader<'a>::free_count -> usize with 1
src/table/block_index/full.rs:40:9: replace <impl BlockIndexIter for Iter>::seek_lower -> bool with true
src/table/block_index/full.rs:44:9: replace <impl BlockIndexIter for Iter>::seek_upper -> bool with true
src/table/block_index/iter.rs:21:9: replace OwnedIndexBlockIter::seek_lower -> bool with true
src/table/block_index/iter.rs:25:9: replace OwnedIndexBlockIter::seek_upper -> bool with true
src/table/block_index/mod.rs:34:9: replace <impl BlockIndexIter for BlockIndexIterImpl>::seek_lower -> bool with true
src/table/block_index/mod.rs:42:9: replace <impl BlockIndexIter for BlockIndexIterImpl>::seek_upper -> bool with true
src/table/block_index/two_level.rs:103:9: replace <impl BlockIndexIter for Iter>::seek_upper -> bool with true
src/table/block_index/two_level.rs:98:9: replace <impl BlockIndexIter for Iter>::seek_lower -> bool with true
src/table/block_index/volatile.rs:85:9: replace <impl BlockIndexIter for Iter>::seek_lower -> bool with true
src/table/block_index/volatile.rs:90:9: replace <impl BlockIndexIter for Iter>::seek_upper -> bool with true
src/table/block/offset.rs:31:9: replace <impl Display for BlockOffset>::fmt -> std::fmt::Result with Ok(Default::default())
src/table/block/trailer.rs:101:13: replace && with || in Trailer<'a>::write
src/table/block/trailer.rs:15:10: replace * with /
src/table/data_block/iter.rs:114:39: replace < with == in Iter<'a>::seek_exclusive
src/table/data_block/iter.rs:33:9: replace Iter<'a>::seek_to_offset -> bool with false
src/table/data_block/iter.rs:33:9: replace Iter<'a>::seek_to_offset -> bool with true
src/table/data_block/mod.rs:295:9: replace DataBlock::size -> usize with 0
src/table/data_block/mod.rs:295:9: replace DataBlock::size -> usize with 1
src/table/data_block/mod.rs:438:9: replace DataBlock::binary_index_len -> u32 with 1
src/table/data_block/mod.rs:443:24: replace * with / in DataBlock::binary_index_len
src/table/filter/bit_array/reader.rs:27:9: replace BitArrayReader<'a>::bytes -> &[u8] with Vec::leak(vec![0])
src/table/filter/bit_array/reader.rs:27:9: replace BitArrayReader<'a>::bytes -> &[u8] with Vec::leak(vec![1])
src/table/filter/bit_array/reader.rs:27:9: replace BitArrayReader<'a>::bytes -> &[u8] with Vec::leak(Vec::new())
src/table/filter/blocked_bloom/builder.rs:100:19: replace * with + in Builder::with_bpk
src/table/filter/blocked_bloom/builder.rs:101:32: replace * with + in Builder::with_bpk
src/table/filter/blocked_bloom/builder.rs:101:32: replace * with / in Builder::with_bpk
src/table/filter/blocked_bloom/builder.rs:103:54: replace * with + in Builder::with_bpk
src/table/filter/blocked_bloom/builder.rs:103:54: replace * with / in Builder::with_bpk
src/table/filter/blocked_bloom/builder.rs:148:19: replace * with / in Builder::get_bit_idx
src/table/filter/blocked_bloom/builder.rs:148:38: replace * with / in Builder::get_bit_idx
src/table/filter/blocked_bloom/builder.rs:68:22: replace <= with > in Builder::with_fp_rate
src/table/filter/blocked_bloom/builder.rs:69:22: replace <= with > in Builder::with_fp_rate
src/table/filter/blocked_bloom/builder.rs:70:22: replace <= with > in Builder::with_fp_rate
src/table/filter/blocked_bloom/builder.rs:74:53: replace * with + in Builder::with_fp_rate
src/table/filter/blocked_bloom/builder.rs:74:53: replace * with / in Builder::with_fp_rate
src/table/filter/blocked_bloom/builder.rs:75:21: replace / with * in Builder::with_fp_rate
src/table/filter/blocked_bloom/builder.rs:76:32: replace * with + in Builder::with_fp_rate
src/table/filter/blocked_bloom/builder.rs:76:32: replace * with / in Builder::with_fp_rate
src/table/filter/blocked_bloom/builder.rs:78:54: replace * with + in Builder::with_fp_rate
src/table/filter/blocked_bloom/builder.rs:78:54: replace * with / in Builder::with_fp_rate
src/table/filter/blocked_bloom/mod.rs:78:9: replace BlockedBloomFilterReader<'a>::bytes -> &[u8] with Vec::leak(vec![0])
src/table/filter/blocked_bloom/mod.rs:78:9: replace BlockedBloomFilterReader<'a>::bytes -> &[u8] with Vec::leak(vec![1])
src/table/filter/blocked_bloom/mod.rs:78:9: replace BlockedBloomFilterReader<'a>::bytes -> &[u8] with Vec::leak(Vec::new())
src/table/filter/blocked_bloom/mod.rs:84:9: replace BlockedBloomFilterReader<'a>::len -> usize with 0
src/table/filter/blocked_bloom/mod.rs:84:9: replace BlockedBloomFilterReader<'a>::len -> usize with 1
src/table/filter/block.rs:17:9: replace FilterBlock::maybe_contains_hash -> crate::Result<bool> with Ok(true)
src/table/filter/block.rs:23:9: replace FilterBlock::size -> usize with 0
src/table/filter/block.rs:23:9: replace FilterBlock::size -> usize with 1
src/table/filter/mod.rs:39:50: replace > with < in BloomConstructionPolicy::is_active
src/table/filter/mod.rs:39:50: replace > with == in BloomConstructionPolicy::is_active
src/table/filter/mod.rs:45:9: replace BloomConstructionPolicy::estimated_key_bits -> f32 with 0.0
src/table/filter/mod.rs:45:9: replace BloomConstructionPolicy::estimated_key_bits -> f32 with -1.0
src/table/filter/mod.rs:45:9: replace BloomConstructionPolicy::estimated_key_bits -> f32 with 1.0
src/table/filter/mod.rs:49:20: replace / with % in BloomConstructionPolicy::estimated_key_bits
src/table/filter/mod.rs:49:20: replace / with * in BloomConstructionPolicy::estimated_key_bits
src/table/filter/standard_bloom/builder.rs:68:32: replace * with + in Builder::with_fp_rate
src/table/filter/standard_bloom/builder.rs:68:32: replace * with / in Builder::with_fp_rate
src/table/filter/standard_bloom/builder.rs:89:23: replace * with + in Builder::with_bpk
src/table/filter/standard_bloom/builder.rs:92:31: replace / with * in Builder::with_bpk
src/table/filter/standard_bloom/mod.rs:78:9: replace StandardBloomFilterReader<'a>::len -> usize with 0
src/table/filter/standard_bloom/mod.rs:78:9: replace StandardBloomFilterReader<'a>::len -> usize with 1
src/table/id.rs:15:9: replace GlobalTableId::tree_id -> TreeId with Default::default()
src/table/index_block/block_handle.rs:143:9: replace <impl PartialEq for KeyedBlockHandle>::eq -> bool with true
src/table/index_block/block_handle.rs:155:9: replace <impl PartialOrd for KeyedBlockHandle>::partial_cmp -> Option<std::cmp::Ordering> with None
src/table/index_block/block_handle.rs:177:45: replace + with * in <impl Encodable for KeyedBlockHandle>::encode_full_into
src/table/index_block/block_handle.rs:192:9: replace <impl Encodable for KeyedBlockHandle>::encode_truncated_into -> crate::Result<()> with Ok(())
src/table/index_block/block_handle.rs:200:43: replace - with + in <impl Encodable for KeyedBlockHandle>::encode_truncated_into
src/table/index_block/block_handle.rs:200:43: replace - with / in <impl Encodable for KeyedBlockHandle>::encode_truncated_into
src/table/index_block/block_handle.rs:214:9: replace <impl Encodable for KeyedBlockHandle>::key -> &[u8] with Vec::leak(vec![0])
src/table/index_block/block_handle.rs:214:9: replace <impl Encodable for KeyedBlockHandle>::key -> &[u8] with Vec::leak(vec![1])
src/table/index_block/block_handle.rs:214:9: replace <impl Encodable for KeyedBlockHandle>::key -> &[u8] with Vec::leak(Vec::new())
src/table/index_block/block_handle.rs:269:9: replace <impl Decodable for KeyedBlockHandle>::parse_truncated -> Option<IndexBlockParsedItem> with None
src/table/index_block/block_handle.rs:48:21: replace == with != in <impl PartialEq for BlockHandle>::eq
src/table/index_block/block_handle.rs:48:9: replace <impl PartialEq for BlockHandle>::eq -> bool with false
src/table/index_block/block_handle.rs:48:9: replace <impl PartialEq for BlockHandle>::eq -> bool with true
src/table/index_block/block_handle.rs:60:9: replace <impl PartialOrd for BlockHandle>::partial_cmp -> Option<std::cmp::Ordering> with None
src/table/index_block/block_handle.rs:77:9: replace <impl Decode for BlockHandle>::decode_from -> Result<Self, crate::Error> with Ok(Default::default())
src/table/index_block/mod.rs:42:9: replace <impl ParsedItem for IndexBlockParsedItem>::key_offset -> usize with 0
src/table/index_block/mod.rs:42:9: replace <impl ParsedItem for IndexBlockParsedItem>::key_offset -> usize with 1
src/table/inner.rs:68:9: replace <impl Drop for Inner>::drop with ()
src/table/iter.rs:230:41: replace += with *= in <impl Iterator for Iter>::next
src/table/iter.rs:230:41: replace += with -= in <impl Iterator for Iter>::next
src/table/iter.rs:351:41: replace += with *= in <impl DoubleEndedIterator for Iter>::next_back
src/table/iter.rs:351:41: replace += with -= in <impl DoubleEndedIterator for Iter>::next_back
src/table/mod.rs:101:9: replace Table::global_seqno -> SeqNo with Default::default()
src/table/mod.rs:105:9: replace Table::referenced_blob_bytes -> crate::Result<u64> with Ok(0)
src/table/mod.rs:105:9: replace Table::referenced_blob_bytes -> crate::Result<u64> with Ok(1)
src/table/mod.rs:174:9: replace Table::filter_size -> usize with 0
src/table/mod.rs:174:9: replace Table::filter_size -> usize with 1
src/table/mod.rs:179:9: replace Table::pinned_filter_size -> usize with 0
src/table/mod.rs:247:36: replace + with * in Table::get
src/table/mod.rs:323:39: replace > with < in Table::point_read
src/table/mod.rs:572:9: replace Table::mark_as_deleted with ()
src/table/mod.rs:579:9: replace Table::is_key_in_key_range -> bool with true
src/table/mod.rs:584:9: replace Table::check_key_range_overlap -> bool with true
src/table/mod.rs:618:9: replace Table::tombstone_ratio -> f32 with 0.0
src/table/mod.rs:618:9: replace Table::tombstone_ratio -> f32 with -1.0
src/table/mod.rs:618:9: replace Table::tombstone_ratio -> f32 with 1.0
src/table/mod.rs:94:9: replace <impl Debug for Table>::fmt -> std::fmt::Result with Ok(Default::default())
src/table/util.rs:127:5: replace longest_shared_prefix_length -> usize with 0
src/table/util.rs:161:33: replace - with + in compare_prefixed_slice
src/table/writer/filter/full.rs:44:9: replace <impl FilterWriter for FullFilterWriter>::register_key -> crate::Result<()> with Ok(())
src/table/writer/filter/full.rs:52:9: replace <impl FilterWriter for FullFilterWriter>::finish -> crate::Result<usize> with Ok(0)
src/table/writer/filter/full.rs:52:9: replace <impl FilterWriter for FullFilterWriter>::finish -> crate::Result<usize> with Ok(1)
src/table/writer/filter/partitioned.rs:103:9: replace PartitionedFilterWriter::write_top_level_index -> crate::Result<()> with Ok(())
src/table/writer/filter/partitioned.rs:123:66: replace + with * in PartitionedFilterWriter::write_top_level_index
src/table/writer/filter/partitioned.rs:156:33: replace += with *= in <impl FilterWriter for PartitionedFilterWriter>::register_key
src/table/writer/filter/partitioned.rs:162:36: replace >= with < in <impl FilterWriter for PartitionedFilterWriter>::register_key
src/table/writer/filter/partitioned.rs:173:9: replace <impl FilterWriter for PartitionedFilterWriter>::finish -> crate::Result<usize> with Ok(0)
src/table/writer/filter/partitioned.rs:173:9: replace <impl FilterWriter for PartitionedFilterWriter>::finish -> crate::Result<usize> with Ok(1)
src/table/writer/index/partitioned.rs:125:66: replace + with * in PartitionedIndexWriter::write_top_level_index
src/table/writer/index/partitioned.rs:160:43: replace + with * in <impl BlockIndexWriter for PartitionedIndexWriter>::register_data_block
src/table/writer/index/partitioned.rs:166:29: replace >= with < in <impl BlockIndexWriter for PartitionedIndexWriter>::register_data_block
src/table/writer/index/partitioned.rs:90:32: replace += with *= in PartitionedIndexWriter::cut_index_block
src/table/writer/index/partitioned.rs:91:32: replace += with *= in PartitionedIndexWriter::cut_index_block
src/table/writer/mod.rs:249:33: replace += with *= in Writer::write
src/table/writer/mod.rs:265:43: replace + with * in Writer::write
src/table/writer/mod.rs:305:37: replace += with *= in Writer::spill_block
src/tree/inner.rs:103:9: replace TreeInner::get_next_table_id -> TableId with Default::default()
src/tree/inner.rs:109:9: replace <impl Drop for TreeInner>::drop with ()
src/tree/inner.rs:29:5: replace get_next_tree_id -> TreeId with Default::default()
src/tree/mod.rs:102:9: replace <impl AbstractTree for Tree>::id -> TreeId with Default::default()
src/tree/mod.rs:1043:22: replace <= with > in Tree::recover_levels
src/tree/mod.rs:1044:22: replace <= with > in Tree::recover_levels
src/tree/mod.rs:1052:12: delete ! in Tree::recover_levels
src/tree/mod.rs:106:9: replace <impl AbstractTree for Tree>::blob_file_count -> usize with 1
src/tree/mod.rs:1109:24: replace % with + in Tree::recover_levels
src/tree/mod.rs:1109:24: replace % with / in Tree::recover_levels
src/tree/mod.rs:1109:39: replace == with != in Tree::recover_levels
src/tree/mod.rs:1117:25: replace < with > in Tree::recover_levels
src/tree/mod.rs:1155:9: replace Tree::cleanup_orphaned_version -> crate::Result<()> with Ok(())
src/tree/mod.rs:133:9: replace <impl AbstractTree for Tree>::metrics -> &Arc<crate::Metrics> with &Arc::new(Default::default())
src/tree/mod.rs:137:9: replace <impl AbstractTree for Tree>::version_free_list_len -> usize with 0
src/tree/mod.rs:137:9: replace <impl AbstractTree for Tree>::version_free_list_len -> usize with 1
src/tree/mod.rs:239:9: replace <impl AbstractTree for Tree>::filter_size -> usize with 0
src/tree/mod.rs:239:9: replace <impl AbstractTree for Tree>::filter_size -> usize with 1
src/tree/mod.rs:246:9: replace <impl AbstractTree for Tree>::pinned_filter_size -> usize with 0
src/tree/mod.rs:246:9: replace <impl AbstractTree for Tree>::pinned_filter_size -> usize with 1
src/tree/mod.rs:253:9: replace <impl AbstractTree for Tree>::pinned_block_index_size -> usize with 0
src/tree/mod.rs:253:9: replace <impl AbstractTree for Tree>::pinned_block_index_size -> usize with 1
src/tree/mod.rs:300:16: replace * with + in <impl AbstractTree for Tree>::flush_to_tables
src/tree/mod.rs:300:24: replace * with + in <impl AbstractTree for Tree>::flush_to_tables
src/tree/mod.rs:385:41: delete ! in <impl AbstractTree for Tree>::register_tables
src/tree/mod.rs:406:9: replace <impl AbstractTree for Tree>::clear_active_memtable with ()
src/tree/mod.rs:414:9: replace <impl AbstractTree for Tree>::set_active_memtable with ()
src/tree/mod.rs:422:9: replace <impl AbstractTree for Tree>::add_sealed_memtable with ()
src/tree/mod.rs:444:9: replace <impl AbstractTree for Tree>::get_next_table_id -> TableId with Default::default()
src/tree/mod.rs:525:9: replace <impl AbstractTree for Tree>::disk_space -> u64 with 0
src/tree/mod.rs:525:9: replace <impl AbstractTree for Tree>::disk_space -> u64 with 1
src/tree/mod.rs:57:9: replace <impl IterGuard for Guard>::size -> crate::Result<u32> with Ok(0)
src/tree/mod.rs:57:9: replace <impl IterGuard for Guard>::size -> crate::Result<u32> with Ok(1)
src/tree/mod.rs:646:30: replace >= with < in Tree::get_internal_entry_from_tables
src/tree/mod.rs:762:9: replace Tree::consume_writer -> crate::Result<Option<Table>> with Ok(None)
src/tree/mod.rs:795:9: delete ! in Tree::is_compacting
src/tree/mod.rs:795:9: replace Tree::is_compacting -> bool with false
src/tree/mod.rs:795:9: replace Tree::is_compacting -> bool with true
src/tree/mod.rs:88:9: replace <impl AbstractTree for Tree>::table_file_cache_size -> usize with 0
src/tree/mod.rs:88:9: replace <impl AbstractTree for Tree>::table_file_cache_size -> usize with 1
src/tree/mod.rs:98:9: replace <impl AbstractTree for Tree>::next_table_id -> TableId with Default::default()
src/tree/sealed.rs:25:9: replace SealedMemtables::remove -> Self with Default::default()
src/value.rs:110:9: replace <impl PartialOrd for InternalValue>::partial_cmp -> Option<std::cmp::Ordering> with None
src/value.rs:116:9: replace <impl Debug for InternalValue>::fmt -> std::fmt::Result with Ok(Default::default())
src/value.rs:98:9: replace <impl PartialEq for InternalValue>::eq -> bool with true
src/version/blob_file_list.rs:17:9: replace BlobFileList::on_disk_size -> u64 with 0
src/version/blob_file_list.rs:17:9: replace BlobFileList::on_disk_size -> u64 with 1
src/version/blob_file_list.rs:25:9: replace BlobFileList::is_empty -> bool with false
src/version/blob_file_list.rs:25:9: replace BlobFileList::is_empty -> bool with true
src/version/blob_file_list.rs:33:9: replace BlobFileList::contains_key -> bool with true
src/version/blob_file_list.rs:56:9: replace BlobFileList::list_ids -> impl Iterator<Item =&BlobFileId> with ::std::iter::empty()
src/version/mod.rs:134:29: replace == with != in Level::aggregate_key_range
src/version/mod.rs:215:9: replace Version::level_is_busy -> bool with false
src/version/mod.rs:451:41: replace += with *= in Version::with_dropped
src/version/mod.rs:522:37: replace || with && in Version::with_merge
src/version/mod.rs:522:40: delete ! in Version::with_merge
src/version/mod.rs:81:9: replace GenericLevel<T>::get_for_key -> impl Iterator<Item =&'a T> with ::std::iter::empty()
src/version/mod.rs:85:9: replace GenericLevel<T>::get_overlapping -> impl Iterator<Item =&'a T> with ::std::iter::empty()
src/version/mod.rs:89:9: replace GenericLevel<T>::get_contained -> impl Iterator<Item =&'a T> with ::std::iter::empty()
src/version/run.rs:80:9: replace Run<T>::extend with ()
src/version/super_version.rs:180:9: replace SuperVersions::append_sealed_memtable with ()
src/version/super_version.rs:44:9: replace SuperVersions::memtable_size_sum -> u64 with 0
src/version/super_version.rs:44:9: replace SuperVersions::memtable_size_sum -> u64 with 1
src/version/super_version.rs:48:44: replace += with *= in SuperVersions::memtable_size_sum
src/version/super_version.rs:48:44: replace += with -= in SuperVersions::memtable_size_sum
src/version/super_version.rs:53:48: replace += with *= in SuperVersions::memtable_size_sum
src/version/super_version.rs:53:48: replace += with -= in SuperVersions::memtable_size_sum
src/vlog/blob_file/merge.rs:21:29: replace == with != in <impl PartialEq for IteratorValue>::eq
src/vlog/blob_file/merge.rs:21:9: replace <impl PartialEq for IteratorValue>::eq -> bool with false
src/vlog/blob_file/merge.rs:21:9: replace <impl PartialEq for IteratorValue>::eq -> bool with true
src/vlog/blob_file/mod.rs:104:9: replace BlobFile::len -> u64 with 0
src/vlog/blob_file/mod.rs:104:9: replace BlobFile::len -> u64 with 1
src/vlog/blob_file/mod.rs:112:37: replace / with % in BlobFile::is_stale
src/vlog/blob_file/mod.rs:112:37: replace / with * in BlobFile::is_stale
src/vlog/blob_file/mod.rs:39:9: replace <impl Drop for Inner>::drop with ()
src/vlog/blob_file/mod.rs:65:9: replace <impl PartialEq for BlobFile>::eq -> bool with false
src/vlog/blob_file/mod.rs:65:9: replace <impl PartialEq for BlobFile>::eq -> bool with true
src/vlog/blob_file/mod.rs:71:9: replace <impl Hash for BlobFile>::hash with ()
src/vlog/blob_file/mod.rs:77:9: replace BlobFile::mark_as_deleted with ()
src/vlog/blob_file/multi_writer.rs:101:9: replace MultiWriter::rotate -> crate::Result<()> with Ok(())
src/vlog/blob_file/multi_writer.rs:144:61: replace == with != in MultiWriter::consume_writer
src/vlog/blob_file/writer.rs:177:33: replace += with *= in Writer::write_raw
src/vlog/mod.rs:103:20: replace % with + in recover_blob_files
src/vlog/mod.rs:103:20: replace % with / in recover_blob_files
src/vlog/mod.rs:103:35: replace == with != in recover_blob_files
src/vlog/mod.rs:111:25: replace < with > in recover_blob_files
src/vlog/mod.rs:35:18: replace <= with > in recover_blob_files
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededtest