This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
ABR 18: More ETEs #5911
Merged
Merged
ABR 18: More ETEs #5911
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
164d860
completeBackup ete
gsheasby a673645
Add restore methods to BackupAndRestoreResource
gsheasby d9cc93f
basic restore tests
gsheasby d1ba2e6
wiring
gsheasby 0493647
addTodo patiently
gsheasby 1ba7fa7
only register backup and restore resource if runtime config exists
gsheasby 0da4925
ignorance is bliss
gsheasby e4b85cf
check timelock is disabled/reenabled
gsheasby 6a1f76b
try commenting addTodo
gsheasby 462eb4a
fix token
gsheasby 0177cdb
[temp] alert when shutting down pooling
gsheasby b2a26aa
refactors
gsheasby 0e1c6c1
fix exception assert
gsheasby 3875630
fine, be that way
gsheasby 63cc107
fix test setup
gsheasby 4b17080
fix test interdependence
gsheasby 1d813ee
fix assert
gsheasby 72bc02b
optimism
gsheasby 98239d9
close kvs for prod only
gsheasby 2b2da18
internal
gsheasby 84febf6
Make TimestampManagementService work for disabled namespaces
gsheasby 72231c2
fix ete setup
gsheasby 62a0bf2
CassRepairHelper: use KvsRunner
gsheasby 9f2a68b
consistency
gsheasby 726c960
remove debug code
gsheasby ecfa876
check
gsheasby 7dbd4e6
Add generated changelog entries
svc-changelog c26ac47
Autorelease 0.546.0-rc1
gsheasby 61edb8b
getIgnoringDisabled should not add to cache
gsheasby 0aca074
more fixes
gsheasby 3167013
Add generated changelog entries
svc-changelog 98f11df
avoid race condition
gsheasby 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 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This solves the correctness issue, but it potentially creates a client on every call and closes any of them. One way to fix it is just to have a separate
ConcurrentMap
for the ignoring services and not reuse the existing normal services.Alternatively, and maybe better, we can keep the previous behaviour where an explicit disable still kills the existing service (because it does all the locks etc cleanup for us) and let the ignoring version create a new one but make sure that a
get
does a precondition check to verify it's not disabled after callingservices.computeIfAbsent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah interesting - yeah, that would work. So we'd create a new service the first time we call
getIgnoringDisabled
, then futureget
calls with throw until the service is re-enabled.