Make it clear what the trailing parallel factor is

pull/5586/head
Philip O'Toole 2016-02-08 23:24:12 -08:00
parent a9552fdd91
commit d2908def07
2 changed files with 10 additions and 10 deletions

View File

@ -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.

View File

@ -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)