Skip to content
Snippets Groups Projects
  1. Mar 06, 2018
  2. Mar 05, 2018
    • Vladislav Shpilevoy's avatar
      netbox: do not clog log with repeating reconnect error messages · 9f75d52d
      Vladislav Shpilevoy authored
      When reconnect fails, it prints error to log. But reconnect can
      fail again and again very many times until the connection is
      closed.
      
      Lets print the first error message under warn log level, and the
      following ones under verbose log level until error will not be
      changed.
      
      Closes #3175
      9f75d52d
    • Vladislav Shpilevoy's avatar
      netbox: fix leak of connection with set reconnect_after option · 4b69dfcd
      Vladislav Shpilevoy authored
      If a connection has reconnect_after > 0, then it is never deleted
      until it is explicitly closed or reconnect_after is reset. It is
      because worker fiber of such connection holds all references
      during yield.
      
      Fix it by do not waiting for a next reconnection inside a state
      machine - protocol_sm() function must not be infinite in a case
      of error.
      
      Closes #3164
      4b69dfcd
    • Konstantin Osipov's avatar
      Merge branch '1.9' into 1.10 · 96683602
      Konstantin Osipov authored
      96683602
    • imarkov's avatar
      fio: Fix race condition in fio.read · c7c24f84
      imarkov authored
      When fio.read  from multiple fibers is performed, as fio.read yields before
      performing actual read operation and ibuf shared among several fibers
      may be corrupted and read data is mixed.
      
      The fix is to create new ibuf for each fio.read call in case
      buffer is not specified.
      
      Closes #3187
      c7c24f84
  3. Mar 01, 2018
  4. Feb 28, 2018
    • Georgy Kirichenko's avatar
      Send relay heartbeat if wal changes won't be send · 195d4462
      Georgy Kirichenko authored
      If a replica receives some changes then corresponding wal events are
      generated and relay fiber is waken up before heartbeat timeout.
      But there may be nothing to send if all changes are from the current
      relay peer. In this case an applier doesn't receive anything and break a
      connection.
      
      Fixes #3160
      195d4462
  5. Feb 26, 2018
    • Konstantin Osipov's avatar
      box.slab.info(): report total arena memory in arena_size · 64faad37
      Konstantin Osipov authored
      Add memory occupied by cached slabs to the size reported by
      arena_size and arena_used_ratio respectively.
      
      This should make memory monitoring easier:
      
      if items_used_ratio > 0.9 and arena_used_ratio > 0.9 and quota_used_ratio > 0.9 then
          we run out of memory
      end
      64faad37
  6. Feb 25, 2018
    • Konstantin Belyavskiy's avatar
      Fix linking with iconv under FreeBSD · 16a636f2
      Konstantin Belyavskiy authored
      On FreeBSD we have either system iconv (part of libc) or the one
      in /usr/local. The first one is not fully compatible with Linux/
      OSX iconv and both adds specific prefixes to function names.
      So to use them via Lua FFI mechanism, specific names are required.
      Proposal fix:
      Under FreeBSD link with /usr/local/lib/libiconv.so and add prefix.
      
      Closes gh-3073.
      16a636f2
  7. Feb 22, 2018
  8. Feb 21, 2018
  9. Feb 20, 2018
Loading