Make it clear what the trailing parallel factor is
parent
a9552fdd91
commit
d2908def07
|
@ -30,11 +30,11 @@ $ influx_tsm -backup ~/influxdb_backup -parallel ~/.influxdb/data
|
|||
|
||||
b1 and bz1 shard conversion.
|
||||
-----------------------------------
|
||||
Data directory is: /home/user/.influxdb/data
|
||||
Backup directory is: /home/user/influxdb_backup
|
||||
Databases specified: all
|
||||
Database backups enabled: yes
|
||||
Parallel mode enabled: yes 8
|
||||
Data directory is: /home/user/.influxdb/data
|
||||
Backup directory is: /home/user/influxdb_backup
|
||||
Databases specified: all
|
||||
Database backups enabled: yes
|
||||
Parallel mode enabled (GOMAXPROCS): yes (8)
|
||||
|
||||
|
||||
Found 1 shards that will be converted.
|
||||
|
|
|
@ -170,11 +170,11 @@ func main() {
|
|||
// Dump summary of what is about to happen.
|
||||
fmt.Println("b1 and bz1 shard conversion.")
|
||||
fmt.Println("-----------------------------------")
|
||||
fmt.Println("Data directory is: ", opts.DataPath)
|
||||
fmt.Println("Backup directory is: ", opts.BackupPath)
|
||||
fmt.Println("Databases specified: ", allDBs(opts.DBs))
|
||||
fmt.Println("Database backups enabled:", yesno(!opts.SkipBackup), badUser)
|
||||
fmt.Println("Parallel mode enabled: ", yesno(opts.Parallel), runtime.GOMAXPROCS(0))
|
||||
fmt.Println("Data directory is: ", opts.DataPath)
|
||||
fmt.Println("Backup directory is: ", opts.BackupPath)
|
||||
fmt.Println("Databases specified: ", allDBs(opts.DBs))
|
||||
fmt.Println("Database backups enabled: ", yesno(!opts.SkipBackup), badUser)
|
||||
fmt.Printf("Parallel mode enabled (GOMAXPROCS): %s (%d)\n", yesno(opts.Parallel), runtime.GOMAXPROCS(0))
|
||||
fmt.Println()
|
||||
|
||||
shards := collectShards(dbs)
|
||||
|
|
Loading…
Reference in New Issue