This commit changes the metastore to ignore any commands that are replayed
against it. This is typically handled by the messaging.Conn but there's no
sense in panicing in the metastore if a replayed message comes through.
This sends data node urls via the broker heartbeat from each data
node. The urls are tracked on the broker to support simpler
cluster setup as well as distributed queries.
admin/admin.go:10:2: a blank import should be only in a main or test package, or have a comment justifying it
admin/admin.go:13:6: exported type Server should have comment or be unexported
admin/admin.go:19:1: comment on exported function NewServer should be of the form "NewServer ..."
admin/admin.go:24:1: exported method Server.ListenAndServe should have comment or be unexported
admin/admin.go:44:1: exported method Server.Close should have comment or be unexported
collectd/collectd.go:23:6: exported type Server should have comment or be unexported
collectd/collectd.go:35:1: exported function NewServer should have comment or be unexported
collectd/collectd.go:46:1: exported function ListenAndServe should have comment or be unexported
collectd/collectd.go:145:1: exported function Unmarshal should have comment or be unexported
This fixes all "golint" warnings in the top-level "influxdb" package:
database.go:316:2: can probably use "var tagStrings []string" instead
database.go:1077:6: exported type RetentionPolicies should have comment or be unexported
server.go:337:1: exported method Server.StartSelfMonitoring should have comment or be unexported
server.go:345:3: can probably use "var points []Point" instead
server.go:433:2: can probably use "var groups []group" instead
server.go:498:2: can probably use "var groups []group" instead
server.go:1417:1: comment on exported method Server.CreateRetentionPolicyIfNotExists should be of the form "CreateRetentionPolicyIfNotExists ..."
server.go:1899:1: exported method Server.DropMeasurement should have comment or be unexported
server.go:2153:10: if block ends with a return statement, so drop this else and outdent its block
server.go:2695:2: can probably use "var rows []*influxql.Row" instead
server.go:2876:11: if block ends with a return statement, so drop this else and outdent its block
server.go:3804:1: exported method Server.StartReportingLoop should have comment or be unexported
tx.go:133:4: can probably use "var mappers []influxql.Mapper" instead
tx.go:231:1: exported method LocalMapper.Open should have comment or be unexported
tx.go:254:1: exported method LocalMapper.Close should have comment or be unexported
tx.go:348:1: exported method LocalMapper.Next should have comment or be unexported