为了解决事物结束时,transaction version<maat_version的问题,使用redis list MAAT_TRANSACTION_xx存储配置更新状态,事务结束时再用lua script同步MAAT_UPDATE_STATUS。

This commit is contained in:
zhengchao
2019-02-22 18:42:31 +06:00
parent 31e2cacd7b
commit 2a8ced2f7d
2 changed files with 33 additions and 41 deletions

View File

@@ -1271,8 +1271,6 @@ protected:
Maat_cmd_flushDB(_shared_feather);
Maat_initiate_feather(_shared_feather);
//For simulating race condition.
Maat_cmd_incrby(_shared_feather, "MAAT_PRE_VER", 1);
}
static void TearDownTestCase()
{