-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update changelog
- Loading branch information
Showing
5 changed files
with
32 additions
and
31 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Enhancement: add named locks and refactor cache | ||
|
||
Tags: ocis-pkg, accounts | ||
|
||
We had the case that we needed kind of a named locking mechanism which enables us to lock only under certain conditions. | ||
It's used in the indexer package where we do not need to lock everything, instead just lock the requested parts and differentiate between reads and writes. | ||
|
||
This made it possible to entirely remove locks from the accounts service and move them to the ocis-pkg indexer. | ||
Another part of this refactor was to make the cache atomic and write tests for it. | ||
|
||
- remove locking from accounts service | ||
- add sync package with named mutex | ||
- add named locking to indexer | ||
- move cache to sync package | ||
|
||
https://github.com/owncloud/ocis/pull/1212 | ||
https://github.com/owncloud/ocis/issues/966 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters