How can I obtain notifications of bucket replication failure events? #2630
Replies: 1 comment
-
|
Afaik there is no separate “replication failed” event emitted right now, or at least it does not look like Webhook/MQTT exposes it reliably. If the event only stays in For now I’d handle this with polling / timeout logic, e.g.:
Also worth checking server logs / metrics, because the actual replication error may be visible there even if the event status is not updated to Imo either:
Would be good to know if RustFS plans to emit explicit |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Whether using a webhook or MQTT subscription, the obtained REPLICA status is always pending, and the failed status is never obtained. Setting the replication bucket to read-only also does not yield a failed status. Unless I write a timed polling function to determine failure if the replication bucket does not retrieve the object within a timeout, is there any other way?
无论是webhook还是MQTT订阅,获取的REPLICA 状态一直是pending,得不到failed状态,把复制桶设置为只读也得不到failed,除非自己写个定时轮询在复制桶如果超时没有获取到对象则判定失败,有没有其他方法?
Beta Was this translation helpful? Give feedback.
All reactions