Skip to content

Fix xattr list race condition - #3237

Merged
micbar merged 3 commits into
cs3org:edgefrom
aduffeck:fix-xattr-list-race-condition
Sep 15, 2022
Merged

micbar merged 3 commits into
cs3org:edgefrom
aduffeck:fix-xattr-list-race-condition

Conversation

@aduffeck

@aduffeck aduffeck commented Sep 14, 2022 •

Copy link
Copy Markdown
Contributor

This PR makes listing xattrs of nodes more robust in concurrency situations.

Fixes #3166
Fixes owncloud/ocis#4473

The read lock didn't prevent running into a rare but conistent error when
listing the extended attributes of a node. A much more robust solution
seems to be to just retry once when listing didn't work initially.
I haven't been able to get the unit tests to flake with this change
anymore.
@micbar
micbar merged commit 3def3c2 into cs3org:edge Sep 15, 2022
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.

2 participants