-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Right now we await only last furure in this migration but we are not guaranteed that all the previous futures finish before this one. Each future consists of several separate queries to ZK... JIRA issues: DCOS-39324
- Loading branch information
Showing
2 changed files
with
17 additions
and
10 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
package dcos.metronome | ||
package migration | ||
|
||
import scala.concurrent.ExecutionContext | ||
|
||
/** Handles the state migration */ | ||
trait Migration { | ||
|
||
/** This call will block until the migration completed */ | ||
def migrate(): Unit | ||
def migrate()(implicit ec: ExecutionContext): Unit | ||
} |
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