Skip to content
Snippets Groups Projects
  1. Jun 23, 2014
  2. Jun 20, 2014
  3. Jun 19, 2014
  4. Jun 18, 2014
    • Konstantin Osipov's avatar
      During bootstrap, expect server_uuid/cluster_uuid exist in the snapshot. · cbb7fc00
      Konstantin Osipov authored
      During bootstrap, work even if server_uuid/cluster_uuid are
      present in the snapshot. This is necessary to be able to upgrade
      bootstrap.snap over time.
      As a proof of concept, rewrite bootstrap.snap from an output snap.
      
      Begin counting lsns from 1, not from 2.
      
      Fixes gh-352
      cbb7fc00
    • Konstantin Osipov's avatar
    • Konstantin Osipov's avatar
      This patch is pure black magic. · 9b26ad5d
      Konstantin Osipov authored
      It takes an incomprehensible piece of code which juggles with
      master-master state (vector clock), and turns it into another
      hardly comprehensible piece.
      
      However, all tests pass, so this alone must justify the changes.
      Another reason is that they are made by my blessed hand,
      thus destined to be better even than sliced bread.
      
      On a more serious note it's an attempt to more carefully
      control vclock state changes through a set of select calls:
      
      - add a new server to vclock
      - "follow" local clock with an update from a remote vclock;
      supposedly this update is dealing with an authenticated
      server, so less checks are necessary, and an error in vlcock
      order is an indicator of a programming error or corruption,
      so should lead to panic, not to an exception
      - a call to get the next LSN for a local coordinate of vclock.
      
      This patch also renames vclock.cc to vclock.c to make it
      FFI friendly.
      9b26ad5d
  5. Jun 17, 2014
  6. Jun 16, 2014
  7. Jun 13, 2014
  8. Jun 12, 2014
Loading