We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2295b40 commit 5c1cec3Copy full SHA for 5c1cec3
src/state.c
@@ -1229,6 +1229,17 @@ check_status_requests(MtmConfig *mtm_cfg)
1229
mtm_log(StatusRequest, "got status request for %s from %d",
1230
gid, sender_node_id);
1231
1232
+ /*
1233
+ * During recovery we may answer with preliminary "notfound" message
1234
+ * that woul cause erroneus abort of transaction beeing asked about.
1235
+ */
1236
+ if (MtmGetCurrentStatus() < MTM_RECOVERED)
1237
+ {
1238
+ mtm_log(StatusRequest,
1239
+ "skipping status request as node is not recovered yet");
1240
+ continue;
1241
+ }
1242
+
1243
state_3pc = GetLoggedPreparedXactState(gid);
1244
1245
// XXX: define this strings as constants like MULTIMASTER_PRECOMMITTED
0 commit comments