Skip to content

Commit

Permalink
Make it clear where influxd storage is
Browse files Browse the repository at this point in the history
  • Loading branch information
otoolep committed Mar 20, 2015
1 parent 45ac8ff commit ee29214
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/influxd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ func openBroker(path string, u url.URL, initializing bool, joinURLs []url.URL, w
if err := b.Open(path); err != nil {
log.Fatalf("failed to open broker at %s : %s", path, err)
}
log.Printf("broker opened at %s", path)

// Attach the broker as the finite state machine of the raft log.
l.FSM = &messaging.RaftFSM{Broker: b}
Expand Down Expand Up @@ -347,6 +348,7 @@ func openServer(config *Config, b *influxdb.Broker, initServer, initBroker bool,
if err := s.Open(config.Data.Dir, c); err != nil {
log.Fatalf("failed to open data server: %v", err.Error())
}
log.Printf("data server opened at %s", config.Data.Dir)

// If the server is uninitialized then initialize or join it.
if initServer {
Expand Down

0 comments on commit ee29214

Please sign in to comment.