8000 util: pass Servers by reference to serve() by Rakshith-R · Pull Request #5354 · ceph/ceph-csi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

util: pass Servers by reference to serve() #5354

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

Merged
merged 1 commit into from
Jun 5, 2025

Conversation

Rakshith-R
Copy link
Contributor
@Rakshith-R Rakshith-R commented Jun 5, 2025

This commit modifies nonBlockingGRPCServer.serve() to accept Servers parameter by reference rather
than value to prevent copy of a large struct.

related-to : #5351

Missed in #5351
linter is still failing at https://github.com/ceph/ceph-csi/actions/runs/15466994254/job/43541315936?pr=5347

Future concerns

List items that are not part of the PR and do not impact it's
functionality, but are work items that can be taken up subsequently.

Checklist:

  • Commit Message Formatting: Commit titles and messages follow
    guidelines in the developer
    guide
    .
  • Reviewed the developer guide on Submitting a Pull
    Request
  • Pending release
    notes

    updated with breaking and/or notable changes for the next major release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

Show available bot commands

These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

  • /retest ci/centos/<job-name>: retest the <job-name> after unrelated
    failure (please report the failure too!)

8000
@Rakshith-R Rakshith-R requested review from a team June 5, 2025 12:35
@nixpanic nixpanic requested a review from a team June 5, 2025 12:41
@nixpanic
Copy link
Member
nixpanic commented Jun 5, 2025

@Mergifyio queue

Copy link
Contributor
mergify bot commented Jun 5, 2025

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 3ff34e5

This commit modifies nonBlockingGRPCServer.serve()
to accept Servers parameter by reference rather
than value to prevent copy of a large struct.

Signed-off-by: Rakshith R <rar@redhat.com>
@mergify mergify bot force-pushed the pass-srv-reference branch from 543d58a to d8dae31 Compare June 5, 2025 15:24
@mergify mergify bot added the ok-to-test Label to trigger E2E tests label Jun 5, 2025
@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.32

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-cephfs

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.31

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.32

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-rbd

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.31

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.32

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.31

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.30

@ceph-csi-bot ceph-csi-bot removed the ok-to-test Label to trigger E2E tests label Jun 5, 2025
@mergify mergify bot merged commit 3ff34e5 into ceph:devel Jun 5, 2025
36 of 37 checks passed
Copy link
Contributor
mergify bot commented Jun 5, 2025

This pull request has been removed from the queue for the following reason: pull request branch update failed.

The pull request can't be updated.

You should update or rebase your pull request manually. If you do, this pull request will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue, you can requeue the pull request, without updating it, by posting a @mergifyio requeue comment.

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.

4 participants
0