Skip to content

Split etcd storage logic from Lock class#14

Merged
JulianVennen merged 3 commits intomasterfrom
storage-interface
Apr 8, 2025
Merged

Split etcd storage logic from Lock class#14
JulianVennen merged 3 commits intomasterfrom
storage-interface

Conversation

@JulianVennen
Copy link
Member

This PR replaces the direct dependency of the Lock class on etcd with a Storage Interface. This allows implementing other storage backends (e.g. a simple in memory backend for unit tests) without messing with the lock classes internals.

@JulianVennen JulianVennen requested a review from matthi4s April 4, 2025 17:40
@JulianVennen JulianVennen merged commit dd04235 into master Apr 8, 2025
5 checks passed
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.

2 participants