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

GH-3444: Add Custom TTL support for RedisLock, and JdbcLock #9053

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Jun 26, 2024

  1. spring-projectsGH-3444: Add Custom TTL support for RedisLock, and Jdb…

    …cLock
    
    Fixes: spring-projects#3444
    
    * Add `CustomTtlLock`, and `CustomTtlLockRegistry` interfaces
    * Modify `RedisLockRegistry` to implement the interfaces.
    * Modify ddl of `INT_LOCK` table, `LockRepository`, `DefaultLockRepository`, and `JdbcLockRegistry` to implement the interfaces.
    * Fix potential concurrency issue of `unlock` method of `JdbcLock`.
    * Maintain existing test cases and add new test cases.
    EddieChoCho committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    e82814b View commit details
    Browse the repository at this point in the history
  2. Refactor

    EddieChoCho committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    ab861ba View commit details
    Browse the repository at this point in the history
  3. Rename CustomTtlLock to DistributedLock

    Remove `CustomTtlLockRegistry`
    EddieChoCho committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    b30c57c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    31d6d76 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    efd9305 View commit details
    Browse the repository at this point in the history