Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBG-771 Refactor CfgSG for reuse by sg-replicate #4562

Merged
merged 3 commits into from May 1, 2020
Merged

CBG-771 Refactor CfgSG for reuse by sg-replicate #4562

merged 3 commits into from May 1, 2020

Conversation

adamcfraser
Copy link
Collaborator

Prerequisite to CBG-771 work.

Move CfgSG to database context to support use by both import and sg-replicate2.

Use distinct logging contexts for cbgt and cfgSG.

Switch CfgSG to use Bucket (instead of gocbBucket) for testing flexibility.

Make CouchbaseBucketGoCB.Spec public to avoid nested StartShardedDCPFeed calls.

Move CfgSG to database context to support use by both import and sg-replicate2.

Use distinct logging contexts for cbgt and cfgSG.

Switch CfgSG to use Bucket (instead of gocbBucket) for testing flexibility.

Make CouchbaseBucketGoCB.Spec public to avoid nested StartShardedDCPFeed calls.
@adamcfraser
Copy link
Collaborator Author

@coveralls
Copy link

coveralls commented May 1, 2020

Coverage Status

Coverage decreased (-0.009%) to 61.481% when pulling 28ccfc7 on CBG-771-1 into 6b08317 on master.

Copy link
Member

@bbrks bbrks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good besides the leftover comment 👍

base/sg_cluster_cfg.go Outdated Show resolved Hide resolved
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
@bbrks bbrks merged commit f6b5966 into master May 1, 2020
@bbrks bbrks deleted the CBG-771-1 branch May 1, 2020 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants