Skip to content

Move to a simpler form of checksum->solution caching in the remote workspace layer. (2)#63028

Merged
CyrusNajmabadi merged 65 commits intodotnet:mainfrom
CyrusNajmabadi:oopCaching4
Jul 29, 2022
Merged

Move to a simpler form of checksum->solution caching in the remote workspace layer. (2)#63028
CyrusNajmabadi merged 65 commits intodotnet:mainfrom
CyrusNajmabadi:oopCaching4

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

@CyrusNajmabadi CyrusNajmabadi commented Jul 28, 2022

The general idea here is that all 'in flight request' counting and all state management related to our cache is done in entirely one operation that updates everything atomically.

the old model was also confusing in that a single checksum could map to potentially two solutions (one connected to the workspace and one not), and it was unclear which you would get back. Now there's a single type that owns thsi concept and ensures a single mapping always for a checksum in the cache.

Copy link
Copy Markdown
Member

@dibarbet dibarbet left a comment

Choose a reason for hiding this comment

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

I think it mostly looks fine? 2 comments that you can tell me if they are reasonable or not.

@CyrusNajmabadi CyrusNajmabadi requested a review from dibarbet July 28, 2022 22:57
Copy link
Copy Markdown
Member

@dibarbet dibarbet left a comment

Choose a reason for hiding this comment

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

I think this looks good

@CyrusNajmabadi CyrusNajmabadi enabled auto-merge July 28, 2022 23:45
@CyrusNajmabadi CyrusNajmabadi merged commit 7578deb into dotnet:main Jul 29, 2022
@ghost ghost added this to the Next milestone Jul 29, 2022
@CyrusNajmabadi CyrusNajmabadi deleted the oopCaching4 branch July 29, 2022 21:48
@dibarbet dibarbet modified the milestones: Next, 17.4 P2 Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants