Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove caching from CfgCB due to races
See couchbase/sync_gateway#1392 In a cluster using cfg_cb, there can be startup races where multiple nodes are registering, and overwrite each other because (previously) the CAS implementation was a local-only cfgMem cache. This change implements CAS correctly via server-side Couchbase, at the tradeoff of performance in order to have more correctness. Change-Id: I9aeed7ba0a17f98a91203ba68935515f768af2e3 Reviewed-on: http://review.couchbase.org/58359 Reviewed-by: Steve Yen <steve.yen@gmail.com> Tested-by: Steve Yen <steve.yen@gmail.com>
- Loading branch information
Showing
3 changed files
with
137 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.