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

decomposedfs: write metadata once #3816

Merged
merged 3 commits into from
Apr 25, 2023
Merged

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Apr 25, 2023

decomposedfs now aggregates metadata when creating directories and spaces into a single write.

@butonic butonic requested review from a team, labkode, ishank011 and glpatcern as code owners April 25, 2023 11:11
@butonic butonic self-assigned this Apr 25, 2023
@butonic butonic added the bug Something isn't working label Apr 25, 2023
@butonic butonic force-pushed the write-metadata-once branch from c3f9125 to 41a3598 Compare April 25, 2023 11:13
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic butonic force-pushed the write-metadata-once branch from 41a3598 to e2f81d9 Compare April 25, 2023 11:15
butonic and others added 2 commits April 25, 2023 14:17
Comment on lines -282 to -285

It("does not try to delete a blob from the blobstore", func() {
env.Blobstore.AssertNotCalled(GinkgoT(), "Delete", mock.AnythingOfType("*node.Node"))
})
Copy link
Contributor Author

Choose a reason for hiding this comment

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

hm ... were we testing a bug? Or was there a reason for asserting NO delete?

Copy link
Contributor

@fschade fschade left a comment

Choose a reason for hiding this comment

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

LGTM 🎸

@butonic butonic merged commit d869e0a into cs3org:edge Apr 25, 2023
@micbar micbar mentioned this pull request May 3, 2023
89 tasks
2403905 pushed a commit to 2403905/reva that referenced this pull request May 19, 2023
* decomposedfs: write metadata once

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>

* only try reading blobsize for files

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>

* Fix tests

---------

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Co-authored-by: André Duffeck <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants