Skip to content

hadoop: use superuser for trash emptier #2512

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 4 commits into from
Aug 18, 2022
Merged

hadoop: use superuser for trash emptier #2512

merged 4 commits into from
Aug 18, 2022

Conversation

tangyoupeng
Copy link
Contributor

use superfs for trash emptier to avoid permission issue

@codecov-commenter
Copy link

codecov-commenter commented Aug 12, 2022

Codecov Report

Merging #2512 (2b12f63) into main (fa29f9d) will decrease coverage by 1.80%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2512      +/-   ##
==========================================
- Coverage   61.58%   59.77%   -1.81%     
==========================================
  Files         138      138              
  Lines       25694    23247    -2447     
==========================================
- Hits        15824    13897    -1927     
+ Misses       8011     7555     -456     
+ Partials     1859     1795      -64     
Impacted Files Coverage Δ
pkg/sync/config.go 0.00% <0.00%> (-83.34%) ⬇️
pkg/object/minio.go 61.29% <0.00%> (-15.19%) ⬇️
cmd/sync.go 56.46% <0.00%> (-12.87%) ⬇️
pkg/chunk/utils_linux.go 66.66% <0.00%> (-8.34%) ⬇️
cmd/version.go 42.85% <0.00%> (-7.15%) ⬇️
pkg/utils/utils.go 69.81% <0.00%> (-6.76%) ⬇️
pkg/object/file.go 65.76% <0.00%> (-6.71%) ⬇️
pkg/chunk/utils_unix.go 66.66% <0.00%> (-6.67%) ⬇️
pkg/meta/tkv_tikv.go 61.90% <0.00%> (-6.31%) ⬇️
pkg/utils/logger_syslog.go 42.30% <0.00%> (-5.97%) ⬇️
... and 127 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@tangyoupeng tangyoupeng changed the title hadoop: user superuser for trash emptier hadoop: use superuser for trash emptier Aug 12, 2022
@tangyoupeng tangyoupeng marked this pull request as ready for review August 15, 2022 07:34
@tangyoupeng tangyoupeng requested a review from davies August 15, 2022 07:34
@tangyoupeng tangyoupeng requested a review from xiaogaozi August 15, 2022 08:35
@davies davies added the backport-1.0 Backport to release-1.0 branch label Aug 18, 2022
@xiaogaozi xiaogaozi requested a review from davies August 18, 2022 05:58
@davies davies merged commit 2a06747 into main Aug 18, 2022
@davies davies deleted the hadoop_trash branch August 18, 2022 07:26
@SandyXSD SandyXSD mentioned this pull request Oct 10, 2022
davies pushed a commit that referenced this pull request Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-1.0 Backport to release-1.0 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants