Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
fschade committed Jan 19, 2021
1 parent e4541e8 commit fe59240
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
16 changes: 0 additions & 16 deletions changelog/unreleased/account-locking.md

This file was deleted.

17 changes: 17 additions & 0 deletions changelog/unreleased/sync-package.md
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

0 comments on commit fe59240

Please sign in to comment.