celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pepijn Noltes (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CELIX-361) etcd_watcher notifications loss when ETCD transaction rate is high
Date Wed, 06 Jul 2016 16:09:11 GMT

     [ https://issues.apache.org/jira/browse/CELIX-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Pepijn Noltes closed CELIX-361.
    Resolution: Fixed

> etcd_watcher notifications loss when ETCD transaction rate is high
> ------------------------------------------------------------------
>                 Key: CELIX-361
>                 URL: https://issues.apache.org/jira/browse/CELIX-361
>             Project: Celix
>          Issue Type: Bug
>          Components: Remote Service Admin
>            Reporter: Gabriele Ricciardi
>         Attachments: etcd_lost_transactions.patch
> ETCD, by design, keeps track only of the last 1000 transactions. The transactions counter
is globally used. In certain occasions (e.g. during the startup of a wide system using ETCD
as information exchange database) the transactions counter increases very fast.
> When the etcd_watcher listening for changes on a certain folder is notified, it gets
back the next valid transaction id to use for watching, or an error in case the transaction
id increased more than 1000 (such a mechanism is used to notify the watcher of possible history
> The error handling is not implemented in the discovery_etcd.
> Attached a patch that (should) fix the issue by implementing this error handling mechanism.

This message was sent by Atlassian JIRA

View raw message