{"record":{"id":"0e5e4f3e7767942c","repo":"jaegertracing/jaeger","slug":"indices-s-rotation-data-stream-is-not-yet-implem","errorCode":null,"errorMessage":"indices.%s.rotation: data_stream is not yet implemented","messagePattern":"indices\\.(.+?)\\.rotation: data_stream is not yet implemented","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/storage/elasticsearch/config/config_rotation.go","lineNumber":164,"sourceCode":"\t\tcount++\n\t}\n\tif r.ManualRollover.HasValue() {\n\t\tcount++\n\t}\n\tif r.AutoRollover.HasValue() {\n\t\tcount++\n\t}\n\tif r.DataStream.HasValue() {\n\t\tcount++\n\t}\n\tif count > 1 {\n\t\treturn fmt.Errorf(\n\t\t\t\"indices.%s.rotation: exactly one rotation strategy must be set, found %d\",\n\t\t\tindexType, count,\n\t\t)\n\t}\n\tif r.DataStream.HasValue() {\n\t\treturn fmt.Errorf(\n\t\t\t\"indices.%s.rotation: data_stream is not yet implemented\",\n\t\t\tindexType,\n\t\t)\n\t}\n\treturn nil\n}\n","sourceCodeStart":146,"sourceCodeEnd":171,"githubUrl":"https://github.com/jaegertracing/jaeger/blob/806f4447841ecdb60519f408b004a599d515f437/internal/storage/elasticsearch/config/config_rotation.go#L146-L171","documentation":"The data_stream rotation strategy is a placeholder that is not implemented in the current Elasticsearch client. If indices.<type>.rotation.data_stream is set (even alone), validate rejects it so users get a clear message instead of broken runtime behavior.","triggerScenarios":"Setting indices.<type>.rotation.data_stream in the config and calling validate (via Validate); also reached after passing the exactly-one-strategy check.","commonSituations":"Following Elasticsearch data-stream documentation or a roadmap feature and assuming Jaeger already supports it.","solutions":["Remove the data_stream entry from the rotation section","Use rotation.periodic instead for time-based rotation","Wait for/track Jaeger support for data streams before adopting"],"exampleFix":"// before\nrotation:\n  data_stream: {}\n// after\nrotation:\n  periodic:\n    days: 1","handlingStrategy":"validation","validationCode":"if r.DataStream.HasValue() {\n    return errors.New(\"data_stream rotation is not supported in this Jaeger version; use periodic\")\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Do not adopt data_stream until Jaeger documents support","Pin configs to supported features","Check the version's config reference, not upstream ES docs"],"tags":["elasticsearch","config-validation","index-rotation","unimplemented-feature"],"backgroundTag":"feature-not-implemented","analyzedSha":"806f4447841ecdb60519f408b004a599d515f437","analyzedAt":"2026-09-01T02:39:22.140Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T05:18:18.240Z"}