Merge pull request #18158 from influxdata/disable-tag-value-series-id-cache

fix(tsdb): Disable series id set cache size by default.
pull/18203/head
Ben Johnson 2020-05-20 07:46:53 -06:00 committed by GitHub
commit ca420c601d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ const (
DefaultMaxIndexLogFileSize = 1 * 1024 * 1024 // 1MB DefaultMaxIndexLogFileSize = 1 * 1024 * 1024 // 1MB
// DefaultSeriesIDSetCacheSize is the default number of series ID sets to cache in the TSI index. // DefaultSeriesIDSetCacheSize is the default number of series ID sets to cache in the TSI index.
DefaultSeriesIDSetCacheSize = 100 // It is disabled by default.
DefaultSeriesIDSetCacheSize = 0
// DefaultSeriesFileMaxConcurrentSnapshotCompactions is the maximum number of concurrent series // DefaultSeriesFileMaxConcurrentSnapshotCompactions is the maximum number of concurrent series
// partition snapshot compactions that can run at one time. // partition snapshot compactions that can run at one time.