You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the test cases had 2 problems.
- The same as in the previous commit - it started a sync
transaction on master, switched to replica assuming it sees
everything up to this sync transaction, but it still can see
data from the previous test case;
- The test case tried to write a sync transaction on master, got
timeout, switched to replica to ensure the data is removed here
too, but since dirty reads are possible, it could happen the
data was delivered to replica and ROLLBACK wasn't not yet. On
the replica the rolled back data still could be visible.
The first issue is solved by flushing master's state to replica
via making a successful sync transaction.
The second issue is fixed by splitting it into more steps, not
depending on timeouts (1000 is considered infinity).
Closes#5196
One of the test cases had 2 problems.
- The same as in the previous commit - it started a sync
transaction on master, switched to replica assuming it sees
everything up to this sync transaction, but it still can see
data from the previous test case;
- The test case tried to write a sync transaction on master, got
timeout, switched to replica to ensure the data is removed here
too, but since dirty reads are possible, it could happen the
data was delivered to replica and ROLLBACK wasn't not yet. On
the replica the rolled back data still could be visible.
The first issue is solved by flushing master's state to replica
via making a successful sync transaction.
The second issue is fixed by splitting it into more steps, not
depending on timeouts (1000 is considered infinity).
Closes#5196
(cherry picked from commit cd292ad)
Tarantool version:
Tarantool 2.6.0-7-g5a856023e
Target: Linux-x86_64-RelWithDebInfo
Build options: cmake . -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_BACKTRACE=ON
Compiler: /usr/bin/cc /usr/bin/c++
C_FLAGS: -static-libstdc++ -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -fopenmp -msse2 -std=c11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-format-truncation -Wno-gnu-alignof-expression -fno-gnu89-inline -Wno-cast-function-type -Werror
CXX_FLAGS: -static-libstdc++ -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -fopenmp -msse2 -std=c++11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-format-truncation -Wno-invalid-offsetof -Wno-gnu-alignof-expression -Wno-cast-function-type -Werror
OS version:
Linux (Debian 9)
Bug description:
After issue #5165 found next issue at:
https://gitlab.com/tarantool/tarantool/-/jobs/647895835#L4527
Issue:
Steps to reproduce:
Optional (but very desirable):
The text was updated successfully, but these errors were encountered: