-
Notifications
You must be signed in to change notification settings - Fork 2
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: make getRaftLog() return a stream #126
Conversation
Instead of returning a data blob, return the stream sent by the server to manage memory better and avoid issues with toString() when blob is too large.
0b6d897
to
2a16b8e
Compare
PR has been updated. Reviewers, please be cautious. |
|
@ironman-machine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This modification is really good. But it should sync with Metadata that uses also bucketClient.getRaftLog for functional tests: https://github.com/scality/MetaData/blob/rel/7.2/tests/functional/1300-api-http/test.js#L251
@ironman-machine |
Hello @bennettbuchanan "SCALITY_BACKBEAT_BRANCH=tmp/event-listener-debug": Success {
"SCALITY_ARSENAL_BRANCH": "bf/S3C-1134-streamLogConsumer",
"SCALITY_INTEGRATION_BRANCH": "ultron/rel/7.2",
"SCALITY_BACKBEAT_BRANCH": "tmp/event-listener-debug",
"DEFAULT_BRANCH": "rel/7.2",
"REPO_NAME": "bucketclient",
"SCALITY_BUCKETCLIENT_BRANCH": "bf/S3C-1134-streamGetRaftLog",
"SCALITY_METADATA_BRANCH": "bf/S3C-1134-streamGetRaftLog"
} |
💔 ☔ circleCI test failed. |
@ironman-machine |
Hello @rahulreddy "SCALITY_BACKBEAT_BRANCH=tmp/event-listener-debug": Success {
"SCALITY_ARSENAL_BRANCH": "bf/S3C-1134-streamLogConsumer",
"SCALITY_INTEGRATION_BRANCH": "ultron/rel/7.2",
"SCALITY_BACKBEAT_BRANCH": "tmp/event-listener-debug",
"DEFAULT_BRANCH": "rel/7.2",
"REPO_NAME": "bucketclient",
"SCALITY_BUCKETCLIENT_BRANCH": "bf/S3C-1134-streamGetRaftLog",
"SCALITY_METADATA_BRANCH": "bf/S3C-1134-streamGetRaftLog"
} |
💔 ⌛ circleCI test timed out... |
@ironman-machine |
Hello @bennettbuchanan "SCALITY_BACKBEAT_BRANCH=fix/S3C-1134": Success {
"SCALITY_ARSENAL_BRANCH": "bf/S3C-1134-streamLogConsumer",
"SCALITY_INTEGRATION_BRANCH": "ultron/rel/7.2",
"SCALITY_BACKBEAT_BRANCH": "fix/S3C-1134",
"DEFAULT_BRANCH": "rel/7.2",
"REPO_NAME": "bucketclient",
"SCALITY_BUCKETCLIENT_BRANCH": "bf/S3C-1134-streamGetRaftLog",
"SCALITY_METADATA_BRANCH": "bf/S3C-1134-streamGetRaftLog"
} |
@ironman-machine |
Hello @jonathan-gramain "SCALITY_BACKBEAT_BRANCH=bf/S3C-1134-streamLogConsumer": Success {
"SCALITY_ARSENAL_BRANCH": "bf/S3C-1134-streamLogConsumer",
"SCALITY_INTEGRATION_BRANCH": "ultron/rel/7.2",
"SCALITY_BACKBEAT_BRANCH": "bf/S3C-1134-streamLogConsumer",
"DEFAULT_BRANCH": "rel/7.2",
"REPO_NAME": "bucketclient",
"SCALITY_BUCKETCLIENT_BRANCH": "bf/S3C-1134-streamGetRaftLog",
"SCALITY_METADATA_BRANCH": "bf/S3C-1134-streamGetRaftLog"
} |
@ironman-machine try |
Hello @jonathan-gramain "try": Success: Try build successfully launched on 'http://ci.ironmann.io/gh/scality/Integration/18726' with the following env. args: {
"SCALITY_ARSENAL_BRANCH": "bf/S3C-1134-streamLogConsumer",
"SCALITY_INTEGRATION_BRANCH": "ultron/rel/7.2",
"SCALITY_BACKBEAT_BRANCH": "bf/S3C-1134-streamLogConsumer",
"DEFAULT_BRANCH": "rel/7.2",
"REPO_NAME": "bucketclient",
"SCALITY_BUCKETCLIENT_BRANCH": "bf/S3C-1134-streamGetRaftLog",
"SCALITY_METADATA_BRANCH": "bf/S3C-1134-streamGetRaftLog"
} |
Integration passed in http://ci.ironmann.io/gh/scality/Integration/18729 A new PR is required in backbeat: scality/backbeat#169 (can be merged by itself first once tests pass). |
@ironman-machine |
Hello @rahulreddy "clean": Success |
One dependency hasn't been merged yet |
@ironman-machine r- r+ |
Hello @rahulreddy "r-": Success |
⌛ PR is now pending. CI build url: http://ci.ironmann.io/gh/scality/Integration/18758 |
⌛ PR is now pending. CI build url: http://ci.ironmann.io/gh/scality/Integration/18759 |
💔 ☔ circleCI test failed. |
Hello @rahulreddy "r+": Success |
⌛ PR is now pending. CI build url: http://ci.ironmann.io/gh/scality/Integration/18762 |
☀️ 👍 circleCI test succeeded! |
Instead of returning a data blob, return the stream sent by the server
to manage memory better and avoid issues with toString() when blob is
too large.