Some bug fixes.

closes #19 and closes #20.
This commit is contained in:
Roman Gershman 2022-04-08 06:53:22 +03:00
parent 5ef63f41d2
commit 49781e8daf
3 changed files with 13 additions and 2 deletions

View file

@ -975,7 +975,6 @@ bool Transaction::CancelInShard(EngineShard* shard) {
// runs in engine-shard thread.
ArgSlice Transaction::ShardArgsInShard(ShardId sid) const {
DCHECK(!args_.empty());
DCHECK_NOTNULL(EngineShard::tlocal());
// We can read unique_shard_cnt_ only because ShardArgsInShard is called after IsArmedInShard
// barrier.