Skip to content
Snippets Groups Projects
  1. Feb 11, 2015
  2. Feb 10, 2015
  3. Feb 09, 2015
  4. Feb 06, 2015
  5. Feb 05, 2015
    • Konstantin Osipov's avatar
      replication: initialize correctly admin_credentials, used in recovery · e0ff949a
      Konstantin Osipov authored
      admin_credentials need to have correct credentials of the superusers,
      but they are initialized before the user subsystem is initialized.
      Initialize them manually.
      e0ff949a
    • Konstantin Osipov's avatar
      replication: fix output of UUID in ER_CLUSTER_ID_MISMATCH error · 212a8085
      Konstantin Osipov authored
      ER_CLUSTER_ID_MISMATCH outputs two UUIDs, while uuid_to_str can
      only work with 1.
      212a8085
    • Konstantin Osipov's avatar
      replication: add monitoring and fix crashes · 519c4c3e
      Konstantin Osipov authored
      Add replication status to box.info().
      When replication is off, box.info.replication.status is 'off'.
      Other allowed statuses are:
          - 'connecting' - trying to connect to the master
          - 'connected' - connected, but nothing read yet,
          - 'running' - successfully received first rows
          - 'failed' - network error
          - 'stopped' - apply conflict, replication needs to be restarted
      
      Move recovery_last_update and recovery_delay to section 'replication'
      in box.info(), replace the first with 'lag' variable, indicating
      the time difference between the currnet time and row time of the last
      row, and 'idle' variable, indicating the difference between the
      current time and the time of last event from the master.
      
      Also output the text of the last error when it happens and
      stops replication.
      
      Make vclock output in box.info more compact.
      
      Remove 'sophia' section from box.info, it's big, and we need
      to solve the problem of status systematically for all engines.
      
      Fix crashes when trying to stop failed replication: fiber_cancel()
      of a dead cancellable fiber would try to schedule it and crash.
      519c4c3e
    • Konstantin Osipov's avatar
      console: a more English error message · b1b80202
      Konstantin Osipov authored
      b1b80202
    • Konstantin Osipov's avatar
Loading