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

bf: stream response from getRaftLog() #379

Merged
merged 1 commit into from
Jan 16, 2018

Conversation

jonathan-gramain
Copy link
Contributor

Adapt LogConsumer.readRecords() to use the stream returned by the modified
BucketClient.getRaftLog() function. That allows end-to-end streaming, hence
supporting arbitrary-sized responses, which should avoid toString() exceptions
or consume excessive amounts of memory.

Goes with scality/bucketclient#126

@ironman-machine
Copy link
Contributor

PR has been updated. Reviewers, please be cautious.

@ironman-machine
Copy link
Contributor

CONFLICT (add/add): Merge conflict in package.json
CONFLICT (add/add): Merge conflict in lib/auth/auth.js

@jonathan-gramain jonathan-gramain changed the base branch from master to rel/7.2 November 29, 2017 20:04
Adapt LogConsumer.readRecords() to use the stream returned by the modified
BucketClient.getRaftLog() function. That allows end-to-end streaming, hence
supporting arbitrary-sized responses, which should avoid toString() exceptions
or consume excessive amounts of memory.
@rahulreddy rahulreddy closed this Jan 16, 2018
@rahulreddy rahulreddy reopened this Jan 16, 2018
@rahulreddy
Copy link
Collaborator

@ironman-machine
SCALITY_BUCKETCLIENT_BRANCH=bf/S3C-1134-streamGetRaftLog
r+

@ironman-machine
Copy link
Contributor

Hello @rahulreddy

"SCALITY_BUCKETCLIENT_BRANCH=bf/S3C-1134-streamGetRaftLog": Success
"r+": Success

@ironman-machine
Copy link
Contributor

⌛ PR is now pending. CI build url: http://ci.ironmann.io/gh/scality/Integration/18755

@ironman-machine ironman-machine merged commit 6992222 into rel/7.2 Jan 16, 2018
ironman-machine added a commit that referenced this pull request Jan 16, 2018
@ironman-machine
Copy link
Contributor

☀️ 👍 circleCI test succeeded!

@ironman-machine ironman-machine deleted the bf/S3C-1134-streamLogConsumer branch January 16, 2018 22:33
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.

6 participants