Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

persistent cache resiliency #89

Open
SomkaPe opened this issue Jul 6, 2020 · 1 comment
Open

persistent cache resiliency #89

SomkaPe opened this issue Jul 6, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@SomkaPe
Copy link

SomkaPe commented Jul 6, 2020

Taking to account that file locks are not completely reliable on non Win platforms, It would be nice to implement following features to be race conditions resilient:

  • Switch file cache accessor from non-atomic file writes to atomic file renaming (in order to prevent dirty reads + dirty writes - cache corruption)
  • Retry logic on KeyChainAccessor to deal with race conditions

details can be found here -> https://github.com/AzureAD/microsoft-authentication-extensions-for-java/wiki/Race-conditions

@henrik-me henrik-me added the enhancement New feature or request label Jul 27, 2020
@henrik-me
Copy link

@bgavrilMS : Java and soon Python has these improvements. We should ensure to properly plan for these in .NET.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants