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

fix: grant ManualCompact api doesn't work #38096

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

weiliu1031
Copy link
Contributor

issue: #38086
cause ManualCompact api pass collection id in request, but RBAC requires to check collection name, so grant ManualCompact api doesn't work.

This PR refine the ManualCompact api to accpet collection name in request.

@sre-ci-robot sre-ci-robot added area/dependency Pull requests that update a dependency file size/S Denotes a PR that changes 10-29 lines. labels Nov 29, 2024
@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: weiliu1031
To complete the pull request process, please assign yanliang567 after the PR has been reviewed.
You can assign the PR to them by writing /assign @yanliang567 in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels Nov 29, 2024
Copy link
Contributor

mergify bot commented Nov 29, 2024

@weiliu1031 E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.87%. Comparing base (61f73d5) to head (12fd705).
Report is 2 commits behind head on master.

Current head 12fd705 differs from pull request most recent head 09db2fa

Please upload reports for the commit 09db2fa to get more accurate results.

❗ There is a different number of reports uploaded between BASE (61f73d5) and HEAD (12fd705). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (61f73d5) HEAD (12fd705)
2 1
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           master   #38096       +/-   ##
===========================================
- Coverage   81.06%   68.87%   -12.20%     
===========================================
  Files        1369      289     -1080     
  Lines      190968    25484   -165484     
===========================================
- Hits       154812    17551   -137261     
+ Misses      30661     7933    -22728     
+ Partials     5495        0     -5495     
Components Coverage Δ
Client ∅ <ø> (∅)
Core 68.87% <ø> (ø)
Go ∅ <ø> (∅)

see 1080 files with indirect coverage changes

cause ManualCompact api pass collection id in request, but RBAC requires
to check collection name, so grant ManualCompact api doesn't work.

This PR refine the ManualCompact api to accpet collection name in
request.

Signed-off-by: Wei Liu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependency Pull requests that update a dependency file dco-passed DCO check passed. kind/bug Issues or changes related a bug size/S Denotes a PR that changes 10-29 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants