Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-56318 Ensure bucket updater is stopped on bucket close
Have streaming function directly respond with the need to exit the updater rather than indicating this via the StopUpdater function. This will ensure that even if a new updater has been kicked off, the existing updater will exit. Ensure bucket close stops updater and that updater is stopped when pool is closed. Don't use loadNamespace as it duplicates the namespace and buckets (which can lead to updaters leaking). Also enhanced bucket updater messages so we can more easily tie messages to an individual bucket object instance. Change-Id: I7fde24040fd07be9d44b8bb27ca01293fd9fa896 Reviewed-on: https://review.couchbase.org/c/query/+/189285 Reviewed-by: Sitaram Vemulapalli <sitaram.vemulapalli@couchbase.com> Reviewed-by: Marco Greco <marco.greco@couchbase.com> Well-Formed: Restriction Checker Tested-by: Donald Haggart <donald.haggart@couchbase.com>
- Loading branch information
Showing
4 changed files
with
52 additions
and
35 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
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