Commit 12164ab
committed
CCBC-1664: register read event watcher for KV socket if duplex is enabled
When the cluster is 7.6.5+ and support Faster Failover, libcouchbase
would automatically disable config polling mechanism and eventually
remove all event watchers for KV sockets, if there is no KV traffic
(e.g. the application only doing Query or Search requests).
If the cluster will be reconfigured during this time, the libcouchbase
will not pick up new topology and continue using previous set of the
endpoints.
Change-Id: I4f0460bd6697c7b7987992a53cadde5b1e1d9a44
Reviewed-on: https://review.couchbase.org/c/libcouchbase/+/228199
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dimitris Christodoulou <dimitris.christodoulou@couchbase.com>1 parent dd6756e commit 12164ab
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
749 | 752 | | |
750 | 753 | | |
751 | 754 | | |
| |||
1127 | 1130 | | |
1128 | 1131 | | |
1129 | 1132 | | |
| 1133 | + | |
1130 | 1134 | | |
1131 | 1135 | | |
1132 | 1136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
| |||
258 | 263 | | |
259 | 264 | | |
260 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
261 | 269 | | |
262 | 270 | | |
263 | 271 | | |
| |||
0 commit comments