mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 09:55:45 +02:00
chore: get rid of MutableSlice (#3952)
* chore: get rid of MutableSlice Signed-off-by: Roman Gershman <roman@dragonflydb.io> * chore: comments --------- Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
0ebc1a11e1
commit
4aa0ca1ef7
33 changed files with 95 additions and 147 deletions
|
@ -296,7 +296,7 @@ void Transaction::PrepareMultiFps(CmdArgList keys) {
|
|||
auto& tag_fps = multi_->tag_fps;
|
||||
|
||||
tag_fps.reserve(keys.size());
|
||||
for (string_view str : ArgS(keys)) {
|
||||
for (string_view str : keys) {
|
||||
ShardId sid = Shard(str, shard_set->size());
|
||||
tag_fps.emplace(sid, LockTag(str).Fingerprint());
|
||||
}
|
||||
|
@ -474,7 +474,7 @@ void Transaction::StartMultiLockedAhead(Namespace* ns, DbIndex dbid, CmdArgList
|
|||
if (!skip_scheduling)
|
||||
ScheduleInternal();
|
||||
|
||||
full_args_ = {nullptr, 0}; // InitBase set it to temporary keys, now we reset it.
|
||||
full_args_ = {}; // InitBase set it to temporary keys, now we reset it.
|
||||
}
|
||||
|
||||
void Transaction::StartMultiNonAtomic() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue