~sh4d1

Paris

https://ptrk.io

Building clouds

Recent activity

Re: [PATCH v3] election: Add a possible callback when becoming a follower 27 days ago

From Patrik Cyvoct to ~ne02ptzero/libfloat

LG

> Signed-off-by: Louis Solofrizzo <lsolofrizzo@scaleway.com>
> ---
> libfloat.h |  7 +++++++
> raft.c     | 14 +++++++++++++-
> 2 files changed, 20 insertions(+), 1 deletion(-)
>
> diff --git a/libfloat.h b/libfloat.h
> index e5494b7..cfaa156 100644
> --- a/libfloat.h
> +++ b/libfloat.h
> @@ -105,6 +105,13 @@ struct libfloat_ctx_s {

Re: [PATCH] election: Implememt gray-failures-proof elections, as described in the DynamoDB paper a month ago

From to ~ne02ptzero/libfloat

LG

October 25, 2022 5:40 PM, "Louis Solofrizzo" <lsolofrizzo@scaleway.com> wrote:

> This patch implements a gray-failure election interface, as described below:
> 
>> Gray failures aka partial failures can lead the system to complete collapse if not handled
>> carefully.
>> These are failures where a replica is unable to reach the leader due to certain issues such as
>> network
>> failure, background garbage collection process etc. This results in replica invoking a leader
>> election and
>> in turn disrupting an already functioning system. To overcome this, DynamoDB has added a brilliant
>> improvement in leader election process. Now whenever a node fails to reach the leader, it sends a

Re: [PATCH] periodic: Change log level from ERROR to DEBUG on election timeout 4 months ago

From Patrik Cyvoct to ~ne02ptzero/libfloat

LG

> Signed-off-by: Louis Solofrizzo <lsolofrizzo@scaleway.com>
> ---
> periodic.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/periodic.c b/periodic.c
> index 565852d..15cf986 100644
> --- a/periodic.c
> +++ b/periodic.c
> @@ -89,7 +89,7 @@ void libfloat_periodic(libfloat_ctx_t *ctx, uint32_t time)
>          if (!ctx->is_snapshotting && !ctx->stepping_down)

Re: [PATCH] log: Try to fix stuck replication on some cases 5 months ago

From Patrik Cyvoct to ~ne02ptzero/libfloat

LG

May 31, 2022 13:17:28 Louis Solofrizzo <lsolofrizzo@scaleway.com>:

> Signed-off-by: Louis Solofrizzo <lsolofrizzo@scaleway.com>
> ---
> log.c  | 24 ++++++++++++++++++++++--
> node.h |  3 +++
> 2 files changed, 25 insertions(+), 2 deletions(-)
>
> diff --git a/log.c b/log.c
> index d7cd67a..d761f14 100644
> --- a/log.c
> +++ b/log.c