migration

command
v0.0.0-...-7b16d43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

README

1 Program description and application:

1.1 Program description:

This program is used for historical data migration, which migrates Kuiper data whose version number is less than 1.0.2 to 1.0.2 version. When the program is running, all file data named stores.data in the dada folder and its subdirectories will be migrated to the sqliteKV.db database under the data directory. If the original data storage path is data/rule/store.data, the migrated data will be located in the table named rule under the path data/sqliteKV.db.

1.2 Compile the program:

Execute the go build -o tools/migration/migration tools/migration/main.go command to generate the migration program.

1.3 Operation example

The user needs to provide the path of Kuiper's data folder

./migration $(kuiper/data)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL