mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
chore: another preparation commit to get rid of kv_args in transaction (#2996)
This changes Entry::Payload to struct instead of variant. Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
653086c910
commit
9bda5b1d4b
12 changed files with 136 additions and 113 deletions
|
@ -201,7 +201,7 @@ void RestoreStreamer::WriteEntry(string_view key, const PrimeValue& pv, uint64_t
|
|||
|
||||
args.push_back("ABSTTL"); // Means expire string is since epoch
|
||||
|
||||
WriteCommand(make_pair("RESTORE", ArgSlice{args}));
|
||||
WriteCommand(journal::Entry::Payload("RESTORE", ArgSlice(args)));
|
||||
}
|
||||
|
||||
void RestoreStreamer::WriteCommand(journal::Entry::Payload cmd_payload) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue