mirror of
https://github.com/matrix-construct/construct
synced 2024-11-28 17:52:54 +01:00
ircd::db: Remove deprecated seqnum; related 58a346f18b
.
This commit is contained in:
parent
d36024cdb8
commit
796058d8e9
2 changed files with 0 additions and 4 deletions
|
@ -87,7 +87,6 @@ struct ircd::db::gopts
|
|||
const rocksdb::Slice *lower_bound { nullptr };
|
||||
const rocksdb::Slice *upper_bound { nullptr };
|
||||
size_t readahead { 0 };
|
||||
[[deprecated]] uint64_t seqnum { 0 };
|
||||
|
||||
using opts<get>::opts;
|
||||
};
|
||||
|
|
|
@ -5270,7 +5270,6 @@ ircd::db::make_opts(const gopts &opts)
|
|||
rocksdb::ReadOptions ret;
|
||||
assume(ret.iterate_lower_bound == nullptr);
|
||||
assume(ret.iterate_upper_bound == nullptr);
|
||||
//assume(ret.iter_start_seqnum == 0);
|
||||
assume(ret.pin_data == false);
|
||||
assume(ret.fill_cache == true);
|
||||
assume(ret.total_order_seek == false);
|
||||
|
@ -5287,8 +5286,6 @@ ircd::db::make_opts(const gopts &opts)
|
|||
// have the same prefix because ordering is not guaranteed between prefixes
|
||||
ret.iterate_lower_bound = opts.lower_bound;
|
||||
ret.iterate_upper_bound = opts.upper_bound;
|
||||
//ret.iter_start_seqnum = opts.seqnum;
|
||||
assert(opts.seqnum == 0);
|
||||
|
||||
ret.verify_checksums = bool(read_checksum);
|
||||
if(test(opts, get::CHECKSUM) && !test(opts, get::NO_CHECKSUM))
|
||||
|
|
Loading…
Reference in a new issue