1. 03 Mar, 2019 2 commits
  2. 27 Feb, 2019 1 commit
    • Jay Guo's avatar
      [FAB-13057] Remove applied index check in storage · 58cc633f
      Jay Guo authored
      
      
      For etcdraft chain, if there is applied index (>0) in
      block metadata, then the node is expected not to be fresh
      and should have wal data.
      
      This CR removes this constraints because that's not the
      case anymore with onboarding, since one node may pull blocks
      from other nodes before bootstrap chain.
      
      Change-Id: I678db4d1d71a24e08685d9c73eee7f4bc281771f
      Signed-off-by: default avatarJay Guo <guojiannan1101@gmail.com>
      58cc633f
  3. 19 Nov, 2018 1 commit
    • Jay Guo's avatar
      [FAB-11919] Towards etcdraft snapshotting 2/4 · 9b8827b8
      Jay Guo authored
      
      
      This CR adds enables etcd/raft based chain to take snapshot for
      every `SnapInterval` blocks. It stores snapshot to wal and disk.
      When node restarts, it loads latest snapshot and uses Term and
      Index stored in it to replay WAL to memory storage.
      
      Change-Id: Ib8c22173cd5b05b7a1b27b16e2003bdabbecf82a
      Signed-off-by: default avatarJay Guo <guojiannan1101@gmail.com>
      9b8827b8
  4. 12 Nov, 2018 1 commit
  5. 08 Nov, 2018 1 commit