Skip to content
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

Tsavorite session reorganization #436

Merged
merged 15 commits into from
Jun 4, 2024
Merged

Tsavorite session reorganization #436

merged 15 commits into from
Jun 4, 2024

Conversation

TedHartMS
Copy link
Contributor

@TedHartMS TedHartMS commented May 31, 2024

  • Rename IFunctions to ISessionFunctions (in prep for StoreFunctions)
  • Clean up ITsavoriteSession to SessionFunctionsWrapper, minimizing the per-Context code to just the locking portion
  • remove RUMD (Read/Upsert/rMw/Delete) functionality from ClientSession; users should use one of the 4 Contexts (Basic, Lockable, Unsafe, LockableUnsafe) for all such actions. This changed a lot of tests
  • Remove the unused RUMDAsync methods
  • Speed up some of the more time-consuming UTs

- Clean up ITsavoriteSession to SessionFunctionsWrapper, minimizing the per-Context code to just the locking portion
- remove RUMD (Read/Upsert/rMw/Delete) functionality from ClientSession; users should use one of the 4 Contexts (Basic, Lockable, Unsafe, LockableUnsafe) for all such actions. This changed a lot of tests
@TedHartMS TedHartMS requested a review from badrishc May 31, 2024 20:46
@TedHartMS TedHartMS marked this pull request as ready for review June 4, 2024 03:16
libs/server/AOF/AofProcessor.cs Outdated Show resolved Hide resolved
libs/storage/Tsavorite/cs/Tsavorite.sln Show resolved Hide resolved
libs/storage/Tsavorite/cs/benchmark/Functions.cs Outdated Show resolved Hide resolved
Remove ClientSession member variables in Garnet
@TedHartMS TedHartMS merged commit a7077a1 into main Jun 4, 2024
33 checks passed
@TedHartMS TedHartMS deleted the tedhar/session-reorg branch June 4, 2024 22:34
@github-actions github-actions bot locked and limited conversation to collaborators Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants