-
Couldn't load subscription status.
- Fork 713
Fix garnet persistence #5087
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
Fix garnet persistence #5087
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
6fdc65e
WIP: Fix garnet persistence
Alirexaa d4508ae
Merge branch 'main' into fix-garnet-persistence
Alirexaa c9889d3
remove --aof-commit-freq arg
Alirexaa f06bf89
Merge branch 'fix-garnet-persistence' of https://github.com/Alirexaa/…
Alirexaa a721a37
Merge branch 'main' into fix-garnet-persistence
Alirexaa f42201f
fix `WithPersistence`, using new args
Alirexaa e629c81
revert image tag
Alirexaa 5863341
Merge branch 'dotnet:main' into fix-garnet-persistence
Alirexaa 6474dee
change playground app to new formet
Alirexaa ed15673
mark method as Obsolete
Alirexaa 489a57b
move shipped api from unshipped to shipped
Alirexaa c23641d
fix AddGarnetTests and add functional tests
Alirexaa 46bd31a
Add ResourceLoggerForwarderService to builder and increase delay
Alirexaa 3e3dfff
Merge branch 'main' into fix-garnet-persistence
Alirexaa 7d87138
minor change
Alirexaa 545ba30
Merge branch 'dotnet:main' into fix-garnet-persistence
Alirexaa b1f5d5d
fix test
Alirexaa 9a991eb
Merge branch 'dotnet:main' into fix-garnet-persistence
Alirexaa e8559ba
Merge branch 'dotnet:main' into fix-garnet-persistence
Alirexaa a1f4452
Merge branch 'dotnet:main' into fix-garnet-persistence
Alirexaa 36047b7
Remove unnecessary change
eerhardt 741fb24
try fix test
Alirexaa 7abdfbf
Merge branch 'main' into fix-garnet-persistence
Alirexaa f679c56
Merge branch 'main' into fix-garnet-persistence
Alirexaa a2a7006
Address PR feedback
Alirexaa 18a3a95
Add playground tests
Alirexaa 2dc8f79
fix build
Alirexaa 10ca7e0
fix playground tests
Alirexaa 9af6c93
Use "other" read/write permissions.
eerhardt 91d8981
Update appsettings.json
Alirexaa 214cdb8
Fix bind mount directory permissions
eerhardt 08ef349
Merge branch 'main' into fix-garnet-persistence
Alirexaa 90b42fe
Merge branch 'dotnet:main' into fix-garnet-persistence
Alirexaa 9eeb9b3
Merge branch 'dotnet:main' into fix-garnet-persistence
Alirexaa 3aaf95d
Merge branch 'dotnet:main' into fix-garnet-persistence
Alirexaa 3adddab
Merge branch 'dotnet:main' into fix-garnet-persistence
Alirexaa e13427e
Merge branch 'main' into fix-garnet-persistence
Alirexaa 0c4e3a5
Address PR feedback
Alirexaa 8edbd70
Merge branch 'dotnet:main' into fix-garnet-persistence
Alirexaa ad4bc74
Merge branch 'dotnet:main' into fix-garnet-persistence
Alirexaa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1 +1,10 @@ | ||
| #nullable enable | ||
| Aspire.Hosting.ApplicationModel.GarnetResource | ||
| Aspire.Hosting.ApplicationModel.GarnetResource.ConnectionStringExpression.get -> Aspire.Hosting.ApplicationModel.ReferenceExpression! | ||
| Aspire.Hosting.ApplicationModel.GarnetResource.PrimaryEndpoint.get -> Aspire.Hosting.ApplicationModel.EndpointReference! | ||
| Aspire.Hosting.ApplicationModel.GarnetResource.GarnetResource(string! name) -> void | ||
| Aspire.Hosting.GarnetBuilderExtensions | ||
| static Aspire.Hosting.GarnetBuilderExtensions.AddGarnet(this Aspire.Hosting.IDistributedApplicationBuilder! builder, string! name, int? port = null) -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! | ||
| static Aspire.Hosting.GarnetBuilderExtensions.WithDataBindMount(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! builder, string! source, bool isReadOnly = false) -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! | ||
| static Aspire.Hosting.GarnetBuilderExtensions.WithDataVolume(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! builder, string? name = null, bool isReadOnly = false) -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! | ||
| static Aspire.Hosting.GarnetBuilderExtensions.WithPersistence(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! builder, System.TimeSpan? interval = null, long keysChangedThreshold = 1) -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,10 +1,4 @@ | ||
| #nullable enable | ||
| Aspire.Hosting.ApplicationModel.GarnetResource | ||
| Aspire.Hosting.ApplicationModel.GarnetResource.ConnectionStringExpression.get -> Aspire.Hosting.ApplicationModel.ReferenceExpression! | ||
| Aspire.Hosting.ApplicationModel.GarnetResource.PrimaryEndpoint.get -> Aspire.Hosting.ApplicationModel.EndpointReference! | ||
| Aspire.Hosting.ApplicationModel.GarnetResource.GarnetResource(string! name) -> void | ||
| Aspire.Hosting.GarnetBuilderExtensions | ||
| static Aspire.Hosting.GarnetBuilderExtensions.AddGarnet(this Aspire.Hosting.IDistributedApplicationBuilder! builder, string! name, int? port = null) -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! | ||
| static Aspire.Hosting.GarnetBuilderExtensions.WithDataBindMount(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! builder, string! source, bool isReadOnly = false) -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! | ||
| static Aspire.Hosting.GarnetBuilderExtensions.WithDataVolume(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! builder, string? name = null, bool isReadOnly = false) -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! | ||
| static Aspire.Hosting.GarnetBuilderExtensions.WithPersistence(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! builder, System.TimeSpan? interval = null, long keysChangedThreshold = 1) -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! | ||
| static Aspire.Hosting.GarnetBuilderExtensions.WithPersistence(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! builder, System.TimeSpan? interval = null) -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! | ||
| *REMOVED*static Aspire.Hosting.GarnetBuilderExtensions.WithPersistence(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! builder, System.TimeSpan? interval = null, long keysChangedThreshold = 1) -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! | ||
| static Aspire.Hosting.GarnetBuilderExtensions.WithPersistence(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! builder, System.TimeSpan? interval, long keysChangedThreshold) -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.GarnetResource!>! |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.