-
Notifications
You must be signed in to change notification settings - Fork 403
Closed
Labels
Description
Steps to reproduce
os.execute('rm -rf *.snap *.xlog *.vylog 512')
local ffi = require('ffi')
local json = require('json')
local log = require('log')
local txn_proxy = require('txn_proxy')
box.cfg{memtx_use_mvcc_engine = true}
box.schema.space.create('s')
box.space.s:create_index('pk')
local tx1 = txn_proxy:new()
local tx2 = txn_proxy:new()
local tx3 = txn_proxy:new()
box.space.s:replace{1}
tx1('box.begin()')
tx2('box.begin()')
tx3('box.begin()')
tx1('box.space.s:replace{1}')
tx2('box.space.s:select({}, {iterator = "LT", fullscan = true})')
tx3('box.space.s:insert{0}')
tx3('box.commit()')
log.info('%s', json.encode(tx2('box.space.s:select{}')))
os.exit()Actual behavior
[[[0],[1]]]
Expected behavior
[[[1]]]
Reactions are currently unavailable