~sh4d1

Paris

https://ptrk.io

Building clouds

Recent activity

[PATCH v5] raft: add soft snapshot feature 8 months ago

From Patrik Cyvoct to ~ne02ptzero/libfloat

This patch add soft snapshot feature: if no logs are received for the
soft_compact_time seconds, a snapshot will be made based on the
soft_compact_after_n value.

Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
---
 libfloat.c |  1 +
 libfloat.h | 89 ++++++++++++++++++++++++++++--------------------------
 log.c      |  1 +
 periodic.c | 21 +++++++++++--
 raft.c     |  1 +
 5 files changed, 68 insertions(+), 45 deletions(-)

diff --git a/libfloat.c b/libfloat.c
[message trimmed]

[PATCH v4] raft: add soft snapshot feature 8 months ago

From Patrik Cyvoct to ~ne02ptzero/libfloat

This patch add soft snapshot feature: if no logs are received for the
soft_compact_time seconds, a snapshot will be made based on the
soft_compact_after_n value.

Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
---
 libfloat.c |  1 +
 libfloat.h | 88 ++++++++++++++++++++++++++++--------------------------
 periodic.c | 16 ++++++++--
 raft.c     |  1 +
 4 files changed, 61 insertions(+), 45 deletions(-)

diff --git a/libfloat.c b/libfloat.c
index c075d5c..9b3be69 100644
[message trimmed]

[PATCH v3] raft: add soft snapshot feature 8 months ago

From Patrik Cyvoct to ~ne02ptzero/libfloat

This patch add soft snapshot feature: if no logs are received for the
soft_compact_time seconds, a snapshot will be made based on the
soft_compact_after_n value.

Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
---
 libfloat.c |  1 +
 libfloat.h | 88 ++++++++++++++++++++++++++++--------------------------
 periodic.c | 13 ++++++--
 raft.c     |  1 +
 4 files changed, 58 insertions(+), 45 deletions(-)

diff --git a/libfloat.c b/libfloat.c
index c075d5c..9b3be69 100644
[message trimmed]

[PATCH v2] raft: add soft snapshot feature 8 months ago

From Patrik Cyvoct to ~ne02ptzero/libfloat

This patch add soft snapshot feature: if no logs are received for the
soft_compact_time seconds, a snapshot will be made based on the
soft_compact_after_n value.

Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
---
 libfloat.c |  1 +
 libfloat.h | 88 ++++++++++++++++++++++++++++--------------------------
 periodic.c | 13 ++++++--
 raft.c     |  1 +
 4 files changed, 58 insertions(+), 45 deletions(-)

diff --git a/libfloat.c b/libfloat.c
index c075d5c..9b3be69 100644
[message trimmed]

[PATCH] raft: add soft snapshot feature 8 months ago

From Patrik Cyvoct to ~ne02ptzero/libfloat

This patch add soft snapshot feature: if no logs are received for the
soft_compact_time seconds, a snapshot will be made based on the
soft_compact_after_n value.

Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
---
 libfloat.c |  2 +-
 libfloat.h | 85 ++++++++++++++++++++++++++++--------------------------
 periodic.c | 13 +++++++--
 raft.c     |  1 +
 4 files changed, 57 insertions(+), 44 deletions(-)

diff --git a/libfloat.c b/libfloat.c
index 14d7a4a..e28037a 100644
[message trimmed]

[PATCH] raft: add a should_snapshot method 8 months ago

From Patrik Cyvoct to ~ne02ptzero/libfloat

This patch adds the ability to register a should_snapshot callback,
that can be used in order to avoid snapshotting on certain cases
decided by the library client.

Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
---
 libfloat.h | 92 ++++++++++++++++++++++++++++++------------------------
 log.c      | 11 ++++++-
 2 files changed, 61 insertions(+), 42 deletions(-)

diff --git a/libfloat.h b/libfloat.h
index 9a529b4..06d51e2 100644
--- a/libfloat.h
+++ b/libfloat.h
[message trimmed]