Skip to content

Instantly share code, notes, and snippets.

View rtsisyk's full-sized avatar

Roman Tsisyk rtsisyk

  • London, United Kingdom
View GitHub Profile
before:
[TRACE 3 buffer.lua:44 return]
[TRACE 4 "for i=1,10000 do s:insert{1, i} end ":1 stitch C:55ecc9fe0f32]
[TRACE 5 "for i=1,10000 do s:insert{1, i} end ":1 -> 4]
[TRACE 6 0x41fdf5e8:893 return]
[TRACE 4 socket.lua:80 return]
[TRACE --- buffer.lua:60 -- leaving loop in root trace at socket.lua:596]
[TRACE --- console.lua:187 -- inner loop in root trace at socket.lua:712]
[TRACE --- fiber.lua:13 -- leaving loop in root trace at socket.lua:637]
[TRACE 5 0x41fd9310:636 return]
2016-12-09T20:38:13.000 tarantool@hashdb[20580]: main/765/main vinyl.c:7335 W> too long page read: 3.766 sec
2016-12-09T20:38:13.000 tarantool@hashdb[20580]: main/1239/main vinyl.c:7335 W> too long page read: 3.766 sec
2016-12-09T20:38:13.000 tarantool@hashdb[20580]: main/717/main vinyl.c:7335 W> too long page read: 3.766 sec
2016-12-09T20:38:13.000 tarantool@hashdb[20580]: main/1314/main vinyl.c:7335 W> too long page read: 3.766 sec
2016-12-09T20:38:13.000 tarantool@hashdb[20580]: main/1045/main vinyl.c:7335 W> too long page read: 3.766 sec
2016-12-09T20:38:13.000 tarantool@hashdb[20580]: main/1071/main vinyl.c:7335 W> too long page read: 3.766 sec
2016-12-09T20:38:13.000 tarantool@hashdb[20580]: main/1417/main vinyl.c:7335 W> too long page read: 3.766 sec
2016-12-09T20:38:13.000 tarantool@hashdb[20580]: main/1223/main vinyl.c:7335 W> too long page read: 3.766 sec
2016-12-09T20:38:13.000 tarantool@hashdb[20580]: main/881/main vinyl.c:7335 W> too long page read: 3.766 sec
2016-12-09T20:38:13.000 tarantool@has
$ git clone https://github.com/rtsisyk/msgpuck.git && cd msgpuck
~/msgpuck$ git describe
1.0-48-g5c26e8b # major.minor-patch semantic versioning
~/msgpuck$ ls rpm/ debian/ # RPM spec and debian/ folder to your repo
rpm/:
msgpuck.spec
debian/:
changelog compat control copyright docs libmsgpuck-dev.manpages rules source

Date released: 2016-09-26

1.6.9 is a maintenance release in the 1.6.x series.

This release is the last one in the 1.6.9 series. For new deployments, please consider using Tarantool 1.7.3.

Release tag is 1.6.9.

Functionality added or changed

@rtsisyk
rtsisyk / 514.log
Last active September 8, 2016 14:47
vinyl bug
This file has been truncated, but you can view the full file.
2016-09-08 17:29:39.891 [140023968136576] main/106/console/unix/: vinyl.c:4229 W> 514: index create
2016-09-08 17:29:39.891 [140023968136576] main/106/console/unix/: vinyl.c:2962 W> 514: add NULL
2016-09-08 17:29:45.097 [140023968136576] main/107/vinyl.scheduler vinyl.c:4790 W> 514: peek dump min_key=NULL
2016-09-08 17:29:45.097 [140023873664768] vinyl.worker/101/main vinyl.c:3408 W> 514: dump begin min_key=-1
2016-09-08 17:29:45.097 [140023873664768] vinyl.worker/101/main vinyl.c:3281 W> 514: >>>> begin of run
2016-09-08 17:29:45.097 [140023873664768] vinyl.worker/101/main vinyl.c:3145 W> 514: begin of page
2016-09-08 17:29:45.097 [140023873664768] vinyl.worker/101/main vinyl.c:3030 W> 514: write 4
2016-09-08 17:29:45.097 [140023873664768] vinyl.worker/101/main vinyl.c:3210 W> 514: min=4 max=4
2016-09-08 17:29:45.097 [140023873664768] vinyl.worker/101/main vinyl.c:3229 W> 514: end of page
2016-09-08 17:29:45.097 [140023873664768] vinyl.worker/101/main vinyl.c:3145 W> 514: begin of page
[ 96%] Building C object sources/CMakeFiles/nb.dir/nb.c.o
[ 96%] Built target tnt_shared
In file included from /data/work/tarantool/nosqlbench/sources/async_io.c:7:0:
/data/work/tarantool/nosqlbench/sources/async_io.h:90:7: error: unknown type name ‘uint32_t’
uint32_t rps, void *user_data);
^~~~~~~~
/data/work/tarantool/nosqlbench/sources/async_io.c:24:2: error: unknown type name ‘uint32_t’
uint32_t rps;
^~~~~~~~
/data/work/tarantool/nosqlbench/sources/async_io.c:40:2: error: unknown type name ‘uint32_t’
xx
----------------------------------
HASH num
----------------------------------
replaces : 948970.45 rps
selects : 1988440.57 rps
selrepl : 726596.17 rps
updates : 609556.73 rps
deletes : 907301.18 rps
----------------------------------
HASH str
#!/usr/bin/env tarantool
package.path = "../?/init.lua;../?.lua;./?/init.lua;./?.lua;"..package.path
package.cpath = "../?.so;../?.dylib;./?.so;./?.dylib"..package.cpath
box.cfg({logger = 'tarantool.log'})
local httpc = require('http.client')
local json = require('json')
local yaml = require('yaml')
local gis = require('gis')