-
Notifications
You must be signed in to change notification settings - Fork 403
Closed
Labels
2.10Target is 2.10 and all newer release/master branchesTarget is 2.10 and all newer release/master branchesbugSomething isn't workingSomething isn't workingmemtxmvcc
Description
Steps to reproduce
os.execute('rm -rf *.snap *.xlog *.vylog 512')
local log = require('log')
local txn_proxy = require('txn_proxy')
box.cfg{memtx_use_mvcc_engine = true}
local s = box.schema.space.create('s')
s:create_index('pk')
s:create_index('sk2', {parts = {{2}}})
local tx1 = txn_proxy:new()
local tx2 = txn_proxy:new()
tx1:begin()
tx2:begin()
tx2('box.space.s:insert{0, 1}')
tx1('box.space.s:insert{1, 0}')
tx1('box.space.s:replace{1, 1}')
tx2:commit()
tx1:commit()
log.info(box.space.s:select({}, {fullscan = true}))
os.exit()Actual behavior
---
[[0,1],[1,1]]
...Expected behavior
---
[[0,1]]
...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
2.10Target is 2.10 and all newer release/master branchesTarget is 2.10 and all newer release/master branchesbugSomething isn't workingSomething isn't workingmemtxmvcc