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

Configurable MaxLockCycles #3429

Merged
merged 4 commits into from
Nov 3, 2022
Merged

Conversation

kobergj
Copy link
Contributor

@kobergj kobergj commented Nov 2, 2022

When a file is locked the flock library will retry a given amount of times (with a increasing sleep time inbetween each round)
Until now the max amount of such rounds was hardcoded to 10. Now it is configurable, falling back to a default of 25

Signed-off-by: jkoberg <jkoberg@owncloud.com>
Copy link
Member

@micbar micbar left a comment

Choose a reason for hiding this comment

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

LGTM

@micbar
Copy link
Member

micbar commented Nov 3, 2022

@kobergj codacy is not happy with the Changelog markdown

@kobergj
Copy link
Contributor Author

kobergj commented Nov 3, 2022

It is. I fixed the issue already, it's just still shown in red because the pipeline is red.

kobergj and others added 3 commits November 3, 2022 11:54
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic
Copy link
Contributor

butonic commented Nov 3, 2022

is this still needed, now that we debounce for a longer time? in the experimental branch @fschade still see the 500 errors in clients, which he can fix by crinking up this ... or was that only the case on edge?

@dragotin dragotin merged commit 65012c8 into cs3org:edge Nov 3, 2022
@kobergj kobergj deleted the MaxAcuireLockCycles branch November 3, 2022 13:47
When a file is locked the flock library will retry a given amount of times (with a increasing sleep time inbetween each round)
Until now the max amount of such rounds was hardcoded to `10`. Now it is configurable, falling back to a default of `25`

https://github.com/owncloud/ocis/pull/4959
Copy link
Member

Choose a reason for hiding this comment

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

@kobergj this changelog entry is broken. We need the reva pull request in the first line of the link list because it provides the primary issue id which needs to resolve inside the repo.

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.

5 participants