Skip to content

Conversation

vrancurel
Copy link
Contributor

Instead of doing 2 round trips we perform the 2 queries at once using an
aggregate.

This PR is to check that we pass the end-to-end tests. You can review but we do not want to merge unless we are sure it improves the performance.

@bert-e
Copy link
Contributor

bert-e commented Feb 6, 2020

Hello vrancurel,

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Status report is not available.

@bert-e
Copy link
Contributor

bert-e commented Feb 6, 2020

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • 2 peers

Peer approvals must include at least 1 approval from the following list:

@vrancurel
Copy link
Contributor Author

@bert-e wait

], {}, (err, cursor) => {
if (err) {
log.error(
'getBucketAttributes: error getting bucket attributes',
Copy link
Contributor

Choose a reason for hiding this comment

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

not necessary to start benchmark testing, but if we keep this combined approach, this error message should change

@vrancurel
Copy link
Contributor Author

Closing this PR as parallelization #932 generates better results.

@vrancurel vrancurel closed this Feb 6, 2020
@vrancurel
Copy link
Contributor Author

Actually sometimes aggregates generate better results too

@vrancurel vrancurel reopened this Feb 10, 2020
Instead of doing 2 round trips we perform the 2 queries at once using an
aggregate.
@vrancurel vrancurel force-pushed the improvement/ZENKO-2307/get-bucket-and-object-aggregate branch from 3cc863a to 96f933d Compare February 10, 2020 22:27
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.

3 participants