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
box.cfg{memtx_use_mvcc_engine=false}
s=box.schema.space.create('s')
s:create_index('pk', {parts= {{1, 'scalar'}}})
s:create_index('sk', {unique=false, hint=true})
-- Fill spaces to invoke format check/index rebuild.fori=1, 10dos:insert({i, i, i}) endfunctionmemtx_space_build_index_leak()
print(pcall(function()
box.begin()
-- The first index rebuild because of `hint` change.s.index.sk:alter({hint=false})
-- The second index rebuild because of `unique` change.s.index.sk:alter({unique=true})
box.commit()
end))
box.rollback()
endfunctionmemtx_space_check_format_leak()
s.index.sk:alter({parts= {{1, 'scalar'}}})
print(pcall(function()
box.begin()
s:format({{'id', 'scalar'}})
s:format({{'id', 'number'}})
s:format({{'id', 'unsigned'}})
box.commit()
end))
box.rollback()
endmemtx_space_check_format_leak()
memtx_space_build_index_leak()
os.exit()
The text was updated successfully, but these errors were encountered:
Space index build and space format checking operations don't destroy space
iterator on `txn_check_singlestatement` failure — fix this.
Closestarantool#8773
NO_DOC=bugfix
NO_TEST=<leak happens in small, cannot be detected by sanitizer>
Space index build and space format checking operations don't destroy space
iterator on `txn_check_singlestatement` failure — fix this.
Closes#8773
NO_DOC=bugfix
NO_TEST=<leak happens in small, cannot be detected by sanitizer>
Space index build and space format checking operations don't destroy space
iterator on `txn_check_singlestatement` failure — fix this.
Closes#8773
NO_DOC=bugfix
NO_TEST=<leak happens in small, cannot be detected by sanitizer>
(cherry picked from commit 6689f51)
Space index build and space format checking operations don't destroy space
iterator on `txn_check_singlestatement` failure — fix this.
Closes#8773
NO_DOC=bugfix
NO_TEST=<leak happens in small, cannot be detected by sanitizer>
(cherry picked from commit 6689f51)
Bug description
The suspects do not free the allocated iterator if
txn_check_singlestatement
check is failed.memtx_space_build_index:
memtx_space_check_format:
Rerpducer
The text was updated successfully, but these errors were encountered: