[Tarantool-patches] [PATCH v2 4/6] box: rework clear_synchro_queue to commit everything

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Thu Dec 24 20:35:13 MSK 2020


I've force pushed this diff:

====================
@@ -98,7 +98,7 @@ box_raft_update_synchro_queue(struct raft *raft)
 		uint32_t errcode = 0;
 		do {
 			rc = box_clear_synchro_queue(false);
-			if (rc) {
+			if (rc != 0) {
 				struct error *err = diag_last_error(diag_get());
 				errcode = box_error_code(err);
 				diag_log();
====================

The patchset looks good, but the test hangs if I run it a lot of times
in parallel. I tried 132 times and after some number of runs all the
workers hung.

Couldn't find the reason right away.


More information about the Tarantool-patches mailing list