VG
Size: a a a
DS
PL
DL
PL
PL
RP
MO
MO
R
box.cfg{}
space = box.schema.space.create("SPACE", {
engine="vinyl",
format = {
{name = "key", type = "unsigned"},
{name = "value", type = "unsigned"}}
})
space:create_index('key', { parts = { 'key' }, unique = true })
require("log").info{"start"}
box.begin() space:update(1, { { '+', 2, 1 } }) space:insert {1, 1} box.commit() box.cfg({read_only=true})
require("log").info{"end"} -- ЭТО НИКОГДА НЕ ВЫПОЛНИТСЯ
R
box.cfg{}
space = box.schema.space.create("SPACE", {
engine="vinyl",
format = {
{name = "key", type = "unsigned"},
{name = "value", type = "unsigned"}}
})
space:create_index('key', { parts = { 'key' }, unique = true })
require("log").info{"start"}
box.begin() space:update(1, { { '+', 2, 1 } }) space:insert {1, 1} box.commit() box.cfg({read_only=true})
require("log").info{"end"} -- ЭТО НИКОГДА НЕ ВЫПОЛНИТСЯ
MF
NP
R
vinyl: crash after
..NP