{"record":{"id":"a53543ee69f16998","repo":"thanos-io/thanos","slug":"create-parquet-converted-blocks-filter","errorCode":null,"errorMessage":"create parquet converted blocks filter","messagePattern":"create parquet converted blocks filter","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cmd/thanos/store.go","lineNumber":396,"sourceCode":"\t\tmatchersCache, err = storecache.NewMatchersCache(storecache.WithSize(conf.matcherCacheSize), storecache.WithPromRegistry(reg))\n\t\tif err != nil {\n\t\t\treturn errors.Wrap(err, \"failed to create matchers cache\")\n\t\t}\n\t}\n\n\tvar blockLister block.Lister\n\tswitch syncStrategy(conf.blockListStrategy) {\n\tcase concurrentDiscovery:\n\t\tblockLister = block.NewConcurrentLister(logger, insBkt)\n\tcase recursiveDiscovery:\n\t\tblockLister = block.NewRecursiveLister(logger, insBkt)\n\tdefault:\n\t\treturn errors.Errorf(\"unknown sync strategy %s\", conf.blockListStrategy)\n\t}\n\tignoreDeletionMarkFilter := block.NewIgnoreDeletionMarkFilter(logger, insBkt, time.Duration(conf.ignoreDeletionMarksDelay), conf.blockMetaFetchConcurrency)\n\tparquetConvertedBlocksFilter, err := block.NewIgnoreParquetConvertedBlocksFilter(logger, parquetBktConfigYaml, conf.blockMetaFetchConcurrency, extprom.WrapRegistererWithPrefix(\"thanos_\", reg))\n\tif err != nil {\n\t\treturn errors.Wrap(err, \"create parquet converted blocks filter\")\n\t}\n\tmetaFetcher, err := block.NewMetaFetcher(logger, conf.blockMetaFetchConcurrency, insBkt, blockLister, dataDir, extprom.WrapRegistererWithPrefix(\"thanos_\", reg),\n\t\t[]block.MetadataFilter{\n\t\t\tparquetConvertedBlocksFilter,\n\t\t\tblock.NewTimePartitionMetaFilter(conf.filterConf.MinTime, conf.filterConf.MaxTime),\n\t\t\tblock.NewLabelShardedMetaFilter(relabelConfig),\n\t\t\tblock.NewConsistencyDelayMetaFilter(logger, time.Duration(conf.consistencyDelay), extprom.WrapRegistererWithPrefix(\"thanos_\", reg)),\n\t\t\tignoreDeletionMarkFilter,\n\t\t\tblock.NewDeduplicateFilter(conf.blockMetaFetchConcurrency),\n\t\t})\n\tif err != nil {\n\t\treturn errors.Wrap(err, \"meta fetcher\")\n\t}\n\n\t// Limit the concurrency on queries against the Thanos store.\n\tif conf.maxConcurrency < 0 {\n\t\treturn errors.Errorf(\"max concurrency value cannot be lower than 0 (got %v)\", conf.maxConcurrency)\n\t}","sourceCodeStart":378,"sourceCodeEnd":414,"githubUrl":"https://github.com/thanos-io/thanos/blob/35b8b991177def87ed52dcf10f9b6d87f07282c8/cmd/thanos/store.go#L378-L414","documentation":"Creating the ignore-parquet-converted-blocks filter failed, typically because the parquet bucket config YAML is invalid or the filter could not initialize its metadata reader with the given concurrency.","triggerScenarios":"Thrown at cmd/thanos/store.go:396 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Validate --store.parquet-convertible.config-file content","Check block meta fetch concurrency is positive","Review parquet bucket credentials and format"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"35b8b991177def87ed52dcf10f9b6d87f07282c8","analyzedAt":"2026-09-07T01:49:59.689Z","contentChangedAt":"2026-09-07T01:49:59.689Z","schemaVersion":2},"datasetVersion":"2026-09-15T23:17:13.987Z"}