- 28 Mar, 2019 2 commits
-
-
Jay Guo authored
This CR alter the snapshot integration test to cover the case where even lagged node can still help forming a minimum quorum and start catching up with snapshot. Change-Id: I97f91c311938c35a6a287237f48146020c799496 Signed-off-by:
Jay Guo <guojiannan1101@gmail.com>
-
Jay Guo authored
If leader halts too quickly, followers might not be able to pick up the config change soon enough. This CR introduces a delay before halting the chain on leader. Change-Id: I384c06001bf31b2816d463e06bf6199a77a64f25 Signed-off-by:
Jay Guo <guojiannan1101@gmail.com>
-
- 03 Mar, 2019 5 commits
-
-
Jay Guo authored
Change-Id: I7d5d3d70705668d18dfd5c4f1cc68b4d59573eda Signed-off-by:
Jay Guo <guojiannan1101@gmail.com>
-
Jay Guo authored
Instead of taking snapshot every N blocks, this CR changes it to taking snapshot every N bytes. This also sets default SnapshotInterval to 100MB, if it's unset. Otherwise data in memory is never compacted till OOM. Meanwhile, DefaultSnapshotCatchUpEntries is shrunk so it does not take too much space to preserve extra entries every time a snapshot is taken. Slow nodes are catching up using blockpuller, which is also efficient. Change-Id: I79cfeb8652fcbafdeb5793bf4f06267b95a858d6 Signed-off-by:
Jay Guo <guojiannan1101@gmail.com>
-
Jay Guo authored
This makes assertion failure more debuggable. Change-Id: I66f8ac8c9b755eaab37f89a10a39c3bfa44ef39a Signed-off-by:
Jay Guo <guojiannan1101@gmail.com>
-
Jay Guo authored
Change-Id: Ie80ff2f11de59a216a94fc61330f9d625ed16e59 Signed-off-by:
Jay Guo <guojiannan1101@gmail.com>
-
Jay Guo authored
Test may query chaincode too fast after invocation, before block is actually committed. Change-Id: I4159fb2dfb31310eccfd64fcb9a9a99ceef54db0 Signed-off-by:
Jay Guo <guojiannan1101@gmail.com>
-
- 27 Feb, 2019 2 commits
-
-
yacovm authored
This change set adds a test case that: 1) Spawns 3 etcdraft OSNs 2) Finds out who is the leader 3) Kills it 4) Makes sure one of the remaining 2 OSNs takes over. Change-Id: I6f42003ddd987b7927a0f06018682829844f3994 Signed-off-by:
yacovm <yacovm@il.ibm.com>
-
yacovm authored
This change set re-enables etcdraft to resume v2.0 development after v1.4 branch is cut. Change-Id: I384247a9de2763a207bbde4fa8e519d703241ad5 Signed-off-by:
yacovm <yacovm@il.ibm.com> Signed-off-by:
Artem Barger <bartem@il.ibm.com>
-
- 04 Dec, 2018 1 commit
-
-
yacovm authored
This change set disables etcdraft as it's not supported in v1.4 Change-Id: I89faff522af8d9d625cf1bac3b6fe0c50b070acd Signed-off-by:
yacovm <yacovm@il.ibm.com>
-
- 19 Nov, 2018 1 commit
-
-
Jay Guo authored
Add integration test for snapshotting. Change-Id: Ia5f32194dd37b8136670378178ae8a5555b79335 Signed-off-by:
Jay Guo <guojiannan1101@gmail.com>
-
- 08 Nov, 2018 1 commit
-
-
Jay Guo authored
Change-Id: I23e4ef5c764dc980f1e100cfc26ffe2988ce6f6e Signed-off-by:
Jay Guo <guojiannan1101@gmail.com>
-