Skip to content

Commit

Permalink
chore: warn on mixed index types in Store.CreateShard
Browse files Browse the repository at this point in the history
  • Loading branch information
gwossum committed Nov 8, 2024
1 parent 04ec063 commit 739b627
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tsdb/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,7 @@ func (s *Store) CreateShard(database, retentionPolicy string, shardID uint64, en
loader := s.newShardLoader(shardID, database, retentionPolicy, enabled)
res := loader.Load()
s.registerShard(res)
s.warnMixedIndexTypes(database)
return res.err
}

Expand Down

0 comments on commit 739b627

Please sign in to comment.