forked from boskworks/bosk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A while back* we stopped deleting the manifest document during refurbish. The reason was that if we delete the manifest on a refurbish, it's pretty much inevitable that every FormatDriver would need to disconnect and reconnect, even if it were not otherwise necessary, because the database would temporarily be in a state where the FormatDriver cannot determine whether its local state is correct anymore. Even a FormatDriver refurbishing to its own format, which should not cause a disruption at all, would cause an otherwise unnecessary reconnection cycle. One consequence of this change was that the UPDATE operation used to change from, say, sequoia to pando format, would simply write to the manifest's "pando" field, leaving the manifest document in an invalid state where it has format configurations for both sequoia and pando. This change fixes this by using a REPLACE instead of an UPDATE. * Commit f40bfad
- Loading branch information
Showing
2 changed files
with
14 additions
and
9 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
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