为了解决事物结束时,transaction version<maat_version的问题,使用redis list MAAT_TRANSACTION_xx存储配置更新状态,事务结束时再用lua script同步MAAT_UPDATE_STATUS。
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user