1. 25 Apr, 2018 1 commit
  2. 24 Apr, 2018 4 commits
  3. 23 Apr, 2018 1 commit
  4. 20 Apr, 2018 6 commits
  5. 19 Apr, 2018 4 commits
  6. 13 Apr, 2018 1 commit
  7. 10 Apr, 2018 1 commit
  8. 09 Apr, 2018 2 commits
  9. 06 Apr, 2018 1 commit
  10. 05 Apr, 2018 9 commits
    • Kirill Smelkov's avatar
      Merge tag 'v1.9' into t · c1b8ffda
      Kirill Smelkov authored
      NEO 1.9
      
      * tag 'v1.9':
        Release version 1.9
        master: fix resumption of backup replication (internal or not)
        master: fix/simplify generation of TID
        master: fix possible failure when reading data in a backup cluster with replicas
      c1b8ffda
    • Kirill Smelkov's avatar
      . · 23894124
      Kirill Smelkov authored
      23894124
    • Kirill Smelkov's avatar
      . · d1082f90
      Kirill Smelkov authored
      d1082f90
    • Kirill Smelkov's avatar
      . · a771b9f1
      Kirill Smelkov authored
      a771b9f1
    • Kirill Smelkov's avatar
      . · 4b02cadb
      Kirill Smelkov authored
      4b02cadb
    • Kirill Smelkov's avatar
      . · 75fc3420
      Kirill Smelkov authored
      75fc3420
    • Kirill Smelkov's avatar
      . · 72a4a428
      Kirill Smelkov authored
      72a4a428
    • Kirill Smelkov's avatar
      . · b26cddf9
      Kirill Smelkov authored
      b26cddf9
    • Kirill Smelkov's avatar
      . · 102d46ac
      Kirill Smelkov authored
      102d46ac
  11. 04 Apr, 2018 4 commits
  12. 27 Mar, 2018 1 commit
    • Kirill Smelkov's avatar
      X neo/storage: Open backends by raw string, not URL · 4000df14
      Kirill Smelkov authored
      For both current backends (SQLite and fs1) there is currently a problem
      of working with UTF-8 filenames if opening is handled via urls. For
      example if backend string is
      
      	sqlite://neo.sqlite·P1-1
      
      after parsing as URL and further reassembled as string it will be
      
      	neo.sqlite%C2%B7P1-1
      
      with then errors like
      
      	neo.sqlite%C2%B7P1-1: open: unable to open database file
      
      showing.
      
      Since storage backends primarily work with local files it makes sense
      not to play raw url reassembly games and just pass raw strings to
      backends for open.
      
      SQLite uri processing is still possible, via e.g.
      
      	sqlite://file:filepath?param=value,...
      
      See
      
      	https://www.sqlite.org/c3ref/open.html	and
      	https://www.sqlite.org/uri.html
      
      for details.
      4000df14
  13. 26 Mar, 2018 5 commits
    • Kirill Smelkov's avatar
      X tcpu: Don't depend on running tests with cwd = .../go/neo/t/ · cf1f7c24
      Kirill Smelkov authored
      Previously when the code was trying to load testdata/ files with
      different CWD it was failing with something like
      
      	testdata/zlib/wczdata: no such file or directory.
      
      Fix it by constructing testdata path relative to __file__ of
      corresponding source.
      cf1f7c24
    • Kirill Smelkov's avatar
      X neotest/info-local: Fix disk display in presence of bind-mounts · d35a2fdf
      Kirill Smelkov authored
      When source device is mounted multiple times, findmnt reports it e.g.
      this way:
      
      	|-/mnt/SLAPOS                         /dev/md2     ext4       rw,relatime,stripe=256,data=ordered
      	|-/srv/slapgrid                       /dev/md2[/srv/slapgrid]
      	                                                   ext4       rw,relatime,stripe=256,data=ordered
      	|-/opt/slapgrid                       /dev/md2[/opt/slapgrid]
      	                                                   ext4       rw,relatime,stripe=256,data=ordered
      	`-/opt/slapos                         /dev/md2[/opt/slapos]
      	                                                   ext4       rw,relatime,stripe=256,data=ordered
      
      and then it breaks:
      
      	$ ./neotest info-local
      	date:   Mon, 26 Mar 2018 21:52:08 +0200
      	xnode:  slapuser5@sd-102959.dedibox.fr (2001:67c:1254:e:49::1 (+ 17·ipv6) 10.0.31.249 (+ 17·ipv4))
      	uname:  Linux vifibcloud-onlinenet-hosting-002 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux
      	cpu:    Intel(R) Xeon(R) CPU D-1531 @ 2.20GHz
      	cpu/[0-11]/freq: intel_pstate/powersave [0.80GHz - 2.70GHz]
      	cpu/[0-11]/idle: acpi_idle/menu: POLL·0/0 C1·1/2 C2·41/82 # elat/tres µs
      	WARNING: cpu: frequency not fixed - benchmark timings won't be stable
      	WARNING: cpu: C-state exit-latency is max 41μs - benchmark timings won't be stable
      	WARNING: cpu: (up to that might be adding to networked and IPC request-reply latency)
      	realpath: '/dev/md2[/srv/slapgrid]': No such file or directory
      
      Fix it by telling findmnt to not include '[/dir]' (-v option).
      
      While we are here also add -u which means "Do not truncate text in columns"
      which is also good to have on a safe side.
      d35a2fdf
    • Kirill Smelkov's avatar
      . · 463d9f67
      Kirill Smelkov authored
      463d9f67
    • Kirill Smelkov's avatar
      X deco: ZEO4 & ZEO5 timings · aa443365
      Kirill Smelkov authored
      aa443365
    • Kirill Smelkov's avatar
      X go/zodb/zeo: Add support for protocols preceding ZEO5 · 60c4ddbe
      Kirill Smelkov authored
      In particular try to support ZEO4:
      
      - during handshake we now first wait for remote server to announce its
        preferred protocol, and only then send the version we select to use.
        This is the procedure original ZEO server-client do.
      
      - teach rpc.call to decode exceptions not only for how ZEO5 encodes them
        (marking via 2 flag in "async" field), but also on how ZEO4 and
        earlier encode them: via replying with (exc_type, exc_inst) and
        expecting client to dynamically check exc_type is a subtype of
        Exception.
      
      - handle other protocol differences - e.g. ZEO5 returns last_tid on
        register(), while earlier versions return nothing there.
      60c4ddbe