feat(json): MSET (#3167)

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
This commit is contained in:
Vladislav 2024-06-13 12:33:24 +03:00 committed by GitHub
parent a80063189e
commit c08719117c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 127 additions and 76 deletions

View file

@ -312,7 +312,7 @@ void Transaction::InitByKeys(const KeyIndex& key_index) {
}
shard_data_.resize(shard_set->size()); // shard_data isn't sparse, so we must allocate for all :(
DCHECK_EQ(full_args_.size() % key_index.step, 0u);
DCHECK_EQ(full_args_.size() % key_index.step, 0u) << full_args_;
// Safe, because flow below is not preemptive.
auto& shard_index = tmp_space.GetShardIndex(shard_data_.size());