R
do
box.cfg{ wal_mode = 'none' }
box.schema.space.create('test'):create_index('pri')
iter = box.space.test:pairs({1}, { iterator = box.index.GT })
for i = 1, 5 do box.space.test:replace{i} end
return iter:totable()
end
Size: a a a
R
do
box.cfg{ wal_mode = 'none' }
box.schema.space.create('test'):create_index('pri')
iter = box.space.test:pairs({1}, { iterator = box.index.GT })
for i = 1, 5 do box.space.test:replace{i} end
return iter:totable()
end
VG
R
VG
LY
TS
TS
LY
TS
LY
MU
net.box
, пытаюсь подключиться на хост под фаерволом. Через опции передаю connect_timeout = 1
, в логе вижу (net.box) net_box.lua:1026 W> <host:port>: Connection timed out
, но net_box.connect
управление не возвращает. Почему так? Выглядит как багR
net.box
, пытаюсь подключиться на хост под фаерволом. Через опции передаю connect_timeout = 1
, в логе вижу (net.box) net_box.lua:1026 W> <host:port>: Connection timed out
, но net_box.connect
управление не возвращает. Почему так? Выглядит как багMU
AK
box.space.__mc_sessions:pairs():filter(function(x) return x.expired < 1598811245964110 end):each(function(x) box.space.__mc_sessions:delete(x.key) end)
AK
box.space.__mc_sessions:pairs():filter(function(x) return x.expired < 1598811245964110 end):each(function(x) box.space.__mc_sessions:delete(x.key) end)
box.space.__mc_memcached:pairs():filter(function(x) return string.find(x.key, 'SessionDataProvider_V02_') end):each(function(x) box.space.__mc_memcached:delete(x.key) end)
AL