-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated dbmigrate to obtain source db type from config.toml (#1258)
* Updated dbmigrator to no longer detect the backend, but instead read from the config.toml. This was done because it was hard to distinguish between goleveldb and cleveldb. * Added TODO comment as a reminder. * Removed DetectDBType since it isn't used anymore, and updated tests to test for SourceDBType. * Moved setting the SourceDB outside of the migrator so that it follows the same pattern as TargetDB. This also reverts some of the changes to Initialize because they are no longer needed. * Added source db type to the logging. * Updated changelog. * Updated long help to provide how we are obtaining the source database type. * Linted files and moved fileExists into test suite since it is only used there. * Reverted most of the changes and applied Danny's suggestion of having a flag instead. * Added logging of source back.
- Loading branch information
Showing
4 changed files
with
57 additions
and
8 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
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