[OpenSIPS-Devel] [OpenSIPS/opensips] db4e1b: clusterer: fix seed fallback during sync
Vlad Pătrașcu
noreply at github.com
Thu Jul 14 09:45:22 UTC 2022
Branch: refs/heads/3.1
Home: https://github.com/OpenSIPS/opensips
Commit: db4e1bc4d7538bec40f20474efa03e950ff0457d
https://github.com/OpenSIPS/opensips/commit/db4e1bc4d7538bec40f20474efa03e950ff0457d
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2022-07-14 (Thu, 14 Jul 2022)
Changed paths:
M modules/clusterer/clusterer.c
Log Message:
-----------
clusterer: fix seed fallback during sync
Do not fall back to the synced state for a capability if syncing is
actually in progress.
(cherry picked from commit 3960008a14fa75395cc4b49c7e7cae52ac68aed7)
Commit: 20f7d457a70b7d9abd81d2a735072698626380e7
https://github.com/OpenSIPS/opensips/commit/20f7d457a70b7d9abd81d2a735072698626380e7
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2022-07-14 (Thu, 14 Jul 2022)
Changed paths:
M modules/clusterer/clusterer.c
M modules/clusterer/clusterer.h
M modules/clusterer/clusterer_mod.c
M modules/clusterer/doc/clusterer_admin.xml
M modules/clusterer/sync.c
M modules/clusterer/sync.h
Log Message:
-----------
clusterer: prevent permanent sync in progress state
If the sync end marker packet is not received, nodes get stuck in a
permanent "sync in progress" state. This commit introduces a timeout,
configurable via the "sync_timeout" modparam, after which a node reverts
to the not synced state, if no sync data packet is received.
(cherry picked from commit 2e5bf28aa91d9cda8304bc19bbba770e83d7cb22)
(cherry picked from commit 0d346f0b6927ceb8895ffd7a4f52f28e685c12f7)
Commit: b2225c086a5496c7d60e44563b646e3aaf9abaac
https://github.com/OpenSIPS/opensips/commit/b2225c086a5496c7d60e44563b646e3aaf9abaac
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2022-07-14 (Thu, 14 Jul 2022)
Changed paths:
M modules/clusterer/sync.c
Log Message:
-----------
clusterer: properly compute sync fallback interval in all cases
The timestamp of the sync request was not saved when queueing the sync
after certain send errors.
(cherry picked from commit 816ef38b7c97b811a5822ceab9ebbe81609b1b6b)
(cherry picked from commit 5f99dd82e38bb98662f304a9ebe0e77ebac961d7)
Commit: df4508fb14e02af0a79614697b791d3dc85089a4
https://github.com/OpenSIPS/opensips/commit/df4508fb14e02af0a79614697b791d3dc85089a4
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2022-07-14 (Thu, 14 Jul 2022)
Changed paths:
M modules/clusterer/sync.c
Log Message:
-----------
clusterer: queue sync request after all send errors
(cherry picked from commit 46e56d4170079eed46686c57986c2ccf5756779e)
(cherry picked from commit 80a7df2433934a880a728ae9305a9a04c37d69a4)
Compare: https://github.com/OpenSIPS/opensips/compare/115cd963ae05...df4508fb14e0
More information about the Devel
mailing list