Skip to content

Conversation

@xliuqq
Copy link
Collaborator

@xliuqq xliuqq commented Jan 18, 2024

Ⅰ. Describe what this PR does

pass AccessModes to thinruntime fuse container

Ⅱ. Does this pull request fix one issue?

fixes #3636

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: xliuqq <xlzq1992@gmail.com>
Signed-off-by: xliuqq <xlzq1992@gmail.com>
@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
22.2% Duplication on New Code

See analysis details on SonarCloud

@codecov
Copy link

codecov bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0d24fcc) 64.46% compared to head (bf724ca) 64.46%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3696   +/-   ##
=======================================
  Coverage   64.46%   64.46%           
=======================================
  Files         471      471           
  Lines       28153    28156    +3     
=======================================
+ Hits        18149    18152    +3     
  Misses       7848     7848           
  Partials     2156     2156           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

// ConfigValue: "{\"/thin/fluid/test/thin-fuse\":\"a=b\"}",
// MountPath: "/thin/fluid/test/thin-fuse",
ConfigValue: "{\"mounts\":[{\"mountPoint\":\"abc\",\"options\":{\"a\":\"b\"}}],\"targetPath\":\"/thin/fluid/test/thin-fuse\"}",
ConfigValue: "{\"mounts\":[{\"mountPoint\":\"abc\",\"options\":{\"a\":\"b\"}}],\"targetPath\":\"/thin/fluid/test/thin-fuse\",\"accessModes\":[\"ReadOnlyMany\"]}",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you add a test with accessModes as ReadWriteMany?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

see above code line 490, accessModes as ReadWriteMany.

Copy link
Collaborator

@cheyang cheyang left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@fluid-e2e-bot
Copy link

fluid-e2e-bot bot commented Jan 18, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheyang

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

The pull request process is described here

Details 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] AccessModes is not passed to ThinRuntime fuse container.

2 participants