diff --git a/app/vminsert/graphite/parser_test.go b/app/vminsert/graphite/parser_test.go index a712ad7902..ca8bcccb15 100644 --- a/app/vminsert/graphite/parser_test.go +++ b/app/vminsert/graphite/parser_test.go @@ -88,8 +88,8 @@ func TestRowsUnmarshalSuccess(t *testing.T) { // Timestamp bigger than 1<<31 f("aaa 1123 429496729600", &Rows{ Rows: []Row{{ - Metric: "aaa", - Value: 1123, + Metric: "aaa", + Value: 1123, Timestamp: 429496729600, }}, }) diff --git a/lib/storage/partition.go b/lib/storage/partition.go index 04572b2371..53d8abe48b 100644 --- a/lib/storage/partition.go +++ b/lib/storage/partition.go @@ -147,7 +147,6 @@ type partition struct { bigPartsMergerWG sync.WaitGroup rawRowsFlusherWG sync.WaitGroup inmemoryPartsFlusherWG sync.WaitGroup - } // partWrapper is a wrapper for the part. diff --git a/lib/storage/table.go b/lib/storage/table.go index 7fb312e97d..cc0dec1530 100644 --- a/lib/storage/table.go +++ b/lib/storage/table.go @@ -42,7 +42,7 @@ type partitionWrapper struct { // The partition must be dropped if mustDrop > 0 mustDrop uint64 - pt *partition + pt *partition } func (ptw *partitionWrapper) incRef() {