Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit provides additional functionality that is logically relat…
…ed to the earlier commit 7e4108a Original commit message: #467: Fix several issues with remote bootstrap Summary: The following issues were fixed: 1) nsessions was not passed to ctor of RemoteBootstrapSession, so rate limiter was disabled in service side. 2) When rate limiter is inactive in remote bootstrap service, it ignores max chunk size that was sent by client. 3) Since we allocate read buffer by chunks and don't move, to pass data of size N we should set buffer limit to N+chunk size. Test Plan: ybd --cxx-test ql-transaction-test --gtest_filter QLTransactionTest.RemoteBootstrap Reviewers: mikhail, kannan, hector Reviewed By: hector Subscribers: ybase Differential Revision: https://phabricator.dev.yugabyte.com/D5450
- Loading branch information