Description
Tarantool version:
Tarantool 2.6.0-142-g6a47a75e9
Target: Darwin-x86_64-RelWithDebInfo
Build options: cmake . -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_BACKTRACE=ON
Compiler: /Library/Developer/CommandLineTools/usr/bin/cc /Library/Developer/CommandLineTools/usr/bin/c++
C_FLAGS: -Wno-unknown-pragmas -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -msse2 -std=c11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-gnu-alignof-expression -Werror
CXX_FLAGS: -Wno-unknown-pragmas -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -msse2 -std=c++11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-invalid-offsetof -Wno-gnu-alignof-expression -Werror
OS version:
OSX 15
Bug description:
https://gitlab.com/tarantool/tarantool/-/jobs/771333258#L4381
results file checksum: 3d618f5e562147395dc288b443dc4c0b
[008] --- box/hash_replace.result Fri Oct 2 17:34:50 2020
[008] +++ box/hash_replace.reject Sun Oct 4 01:10:10 2020
[008] @@ -73,7 +73,7 @@
[008] | ...
[008] hash:delete{10}
[008] | ---
[008] - | - [10, 10, 10, 10]
[008] + | - [10, 10]
[008] | ...
[008] hash.index['primary']:get{10}
[008] | ---
[008] @@ -107,29 +107,29 @@
[008] | ...
[008] hash.index['primary']:get{1}
[008] | ---
[008] - | - [1, 1, 1, 1]
[008] + | - [1, 1]
[008] | ...
[008]
[008] -- TupleNotFound (primary key)
[008] hash:replace{10, 10, 10, 10}
[008] | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['primary']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field1']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field2']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field3']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['primary']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field1']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field2']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field3']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] | ...
[008]
[008] -- TupleFound (key --1)
[008] @@ -139,46 +139,46 @@
[008] | ...
[008] hash.index['primary']:get{10}
[008] | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field1']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field2']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field3']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field1']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field2']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field3']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] | ...
[008] hash.index['field1']:get{0}
[008] | ---
[008] - | - [0, 0, 0, 0]
[008] + | - [0, 0]
[008] | ...
[008]
[008] -- TupleFound (key --1)
[008] -- hash:replace_if_exists(2, 0, 10, 10)
[008] hash.index['primary']:get{10}
[008] | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field1']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field2']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field3']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field1']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field2']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field3']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] | ...
[008] hash.index['field1']:get{0}
[008] | ---
[008] - | - [0, 0, 0, 0]
[008] + | - [0, 0]
[008] | ...
[008]
[008] -- TupleFound (key --3)
[008] @@ -188,46 +188,46 @@
[008] | ...
[008] hash.index['primary']:get{10}
[008] | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field1']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field2']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field3']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field1']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field2']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field3']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] | ...
[008] hash.index['field3']:get{0}
[008] | ---
[008] - | - [0, 0, 0, 0]
[008] + | - [0, 0]
[008] | ...
[008]
[008] -- TupleFound (key --3)
[008] -- hash:replace_if_exists(2, 10, 10, 0)
[008] hash.index['primary']:get{10}
[008] | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field1']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field2']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] - | ...
[008] -hash.index['field3']:get{10}
[008] - | ---
[008] - | - [10, 10, 10, 10]
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field1']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field2']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] + | ...
[008] +hash.index['field3']:get{10}
[008] + | ---
[008] + | - [10, 10]
[008] | ...
[008] hash.index['field3']:get{0}
[008] | ---
[008] - | - [0, 0, 0, 0]
[008] + | - [0, 0]
[008] | ...
[008]
[008] hash:drop()
[008]
Steps to reproduce:
Optional (but very desirable):
- coredump
- backtrace
- netstat