-
Notifications
You must be signed in to change notification settings - Fork 403
Description
Bug description
tarantool reports about invalid vylog file:
2024-07-19 10:11:27.863 [2445014] coio vy_log.c:2272 E> failed to process vylog record: delete_range{range_id=9, }
2024-07-19 10:11:27.863 [2445014] main/158/WRK #45/test_engine I> INDEX_RANDOM_OP [{"unique":true,"parts":[{"fieldno":2,"sort_order":"asc","type":"
unsigned","exclude_null":false,"is_nullable":false},{"fieldno":1,"sort_order":"asc","type":"double","exclude_null":false,"is_nullable":false},{"fie
ldno":4,"sort_order":"asc","type":"integer","exclude_null":false,"is_nullable":false},{"fieldno":3,"sort_order":"asc","type":"uuid","exclude_null":
false,"is_nullable":false}],"options":{"page_size":5120,"run_count_per_level":8,"run_size_ratio":2,"bloom_fpr":0.06,"range_size":1073741824},"id":0
,"space_id":512,"type":"TREE","name":"idx_1"}]
2024-07-19 10:11:27.863 [2445014] main/158/WRK #45/test_engine I> INSERT_OP [[402077524063.32,844028387820,"a8854c20-4ac4-494c-b5a9-8662bf65a132",1
46963062218,"xxarysbpdk",222466079498,false,"409441267806","2024-07-19T10:11:27Z",[1,2,3,4],{"2":2,"1":1,"3":3}]]
2024-07-19 10:11:27.864 [2445014] main/106/checkpoint_daemon vy_log.c:2027 E> ER_INVALID_VYLOG_FILE: Invalid VYLOG file: Deleted range 9 has run slices
2024-07-19 10:11:27.864 [2445014] main/106/checkpoint_daemon vy_log.c:2481 E> failed to load `./00000000000000002573.vylog'
2024-07-19 10:11:27.864 [2445014] main/158/WRK #45/test_engine I> INDEX_COMPACT_OP [{"unique":true,"parts":[{"fieldno":2,"sort_order":"asc","type":"unsigned","exclude_null":false,"is_nullable":false},{"fieldno":1,"sort_order":"asc","type":"double","exclude_null":false,"is_nullable":false},{"fieldno":4,"sort_order":"asc","type":"integer","exclude_null":false,"is_nullable":false},{"fieldno":3,"sort_order":"asc","type":"uuid","exclude_null":false,"is_nullable":false}],"options":{"page_size":5120,"run_count_per_level":8,"run_size_ratio":2,"bloom_fpr":0.06,"range_size":1073741824},"id":0,"space_id":512,"type":"TREE","name":"idx_1"}]
2024-07-19 10:11:27.864 [2445014] main/158/WRK #45/test_engine I> INDEX_CREATE_OP []
2024-07-19 10:11:27.864 [2445014] main/158/WRK #45/test_engine I> ERROR: opname "INDEX_CREATE_OP", err "Can't modify space 'test_1': the space is already being modified", args []
2024-07-19 10:11:27.864 [2445014] main/158/WRK #45/test_engine I> UPSERT_OP [[180173538493.47,703001652778,"ba0c7895-f3b4-4db0-93a1-aff18191a492",914299066194,"frnjwauiat",106037235940,false,"630378434290","2024-07-19T10:11:27Z",[1,2,3,4],{"4":4,"1":1,"5":5,"2":2,"3":3}],[["=",3,"6f27b3f8-4d4c-4922-97ed-e343b5aa0dec"],["+",4,278836597894],["+",2,693637735270]]]
2024-07-19 10:11:27.864 [2445014] main/108/vinyl.scheduler V> begin vylog transaction
2024-07-19 10:11:27.864 [2445014] main/108/vinyl.scheduler V> write vylog record: prepare_run{run_id=63, }
2024-07-19 10:11:27.864 [2445014] main/106/checkpoint_daemon vy_log.c:2027 E> ER_INVALID_VYLOG_FILE: Invalid VYLOG file: Deleted range 9 has run slices
- OS: Linux
- OS Version: Ubuntu 22.04
- Architecture: amd64
tarantool commit fc3196d
Tarantool 3.2.0-entrypoint-154-gfc3196dca
Target: Linux-x86_64-RelWithDebInfo
Build options: cmake . -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_BACKTRACE=TRUE
Compiler: GNU-13.2.0
C_FLAGS: -fexceptions -funwind-tables -fasynchronous-unwind-tables -fno-common -msse2 -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIC -fmacro-prefix-map=/home/ubuntu/tarantool=. -std=c11 -Wall -Wextra -Wno-gnu-alignof-expression -fno-gnu89-inline -Wno-cast-function-type -O2 -g -DNDEBUG -ggdb -O2
CXX_FLAGS: -fexceptions -funwind-tables -fasynchronous-unwind-tables -fno-common -msse2 -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIC -fmacro-prefix-map=/home/ubuntu/tarantool=. -std=c++11 -Wall -Wextra -Wno-invalid-offsetof -Wno-gnu-alignof-expression -Wno-cast-function-type -O2 -g -DNDEBUG -ggdb -O2
Steps to reproduce
Take a test script in #10264.
How to run:
Just type ./build/src/tarantool test_engine.lua --workers 400 --engine vinyl --verbose .
Actual behavior
tarantool reports about invalid vylog file
Full test log and tarantool binary:
gh-10277.zip
Expected behavior
everything is fine with vylog files