Skip to content

[msal-node]Cache-6: Read and write to disk, merge cache #1622

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

Merged
merged 39 commits into from
May 20, 2020

Conversation

sameerag
Copy link
Member

@sameerag sameerag commented May 10, 2020

This PR has the following functionality added to the cache:

  • Reads and writes asynchronously from the disk
  • Introduces CacheContext which manages reading and writing into a cache file and merging the current cache with stored cacheBlob while doing so.

Todo:

Will have to make sure during file write/read, the accessed file is locked. This logic should be mostly in extension library, will update once we reach a consensus.

CacheSync

@sameerag sameerag marked this pull request as draft May 10, 2020 06:37
@sameerag sameerag changed the title [msal-node][msal-common] Cache 6: Read and write to disk, merge cache [msal-node][msal-common] Cache-6: Read and write to disk, merge cache May 10, 2020
@sameerag sameerag changed the title [msal-node][msal-common] Cache-6: Read and write to disk, merge cache [msal-node]Cache-6: Read and write to disk, merge cache May 10, 2020
@sameerag sameerag marked this pull request as ready for review May 11, 2020 13:38
@sameerag sameerag changed the base branch from msal-node-cache-entities to dev May 11, 2020 13:41
@sameerag sameerag changed the base branch from dev to msal-node-cache-entities May 11, 2020 13:42
@sameerag sameerag merged commit adae586 into msal-node-cache-entities May 20, 2020
This was referenced May 20, 2020
@sameerag sameerag deleted the msal-node-cache-fileops-async branch June 8, 2020 05:24
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.

3 participants