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-3776: [3.1.4 Backport] Configurable revs parallelism limit #6692

Merged
merged 3 commits into from
Feb 16, 2024

Conversation

gregns1
Copy link
Contributor

@gregns1 gregns1 commented Feb 16, 2024

CBG-3776

Backport of CBG-3741: Configurable revs parallelism limit

Pre-review checklist

  • Removed debug logging (fmt.Print, log.Print, ...)
  • Logging sensitive data? Make sure it's tagged (e.g. base.UD(docID), base.MD(dbName))
  • Updated relevant information in the API specifications (such as endpoint descriptions, schemas, ...) in docs/api

Integration Tests

bbrks and others added 3 commits February 16, 2024 15:01
* Throttle concurrent revs (push and pull) to 5 for an individual replicating client

* Consider proposeChanges as a changes batch for the inFlightChangesThrottle purposes

* Make MaxConcurrentChangesBatches and MaxConcurrentRevs configurable

* Add test and stats

* Add stat descriptions

* Fix config bug that the test found

* Fix missing stat init for ISGR - split Connected Client rev throttle stat

* PR comments for stats - add pull equivalent stat

* Remove pull replication rev throttling (single-threaded)

* int -> *int

* Move replication throttle config to StartupConfig validation

* Add test coverage for StartupConfig Validate for MaxConcurrentRevs

* remove test logging
@bbrks bbrks merged commit 4c7d6ec into release/3.1.4 Feb 16, 2024
24 checks passed
@bbrks bbrks deleted the CBG-3776 branch February 16, 2024 18:49
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.

2 participants