Skip to content

Commit bcea332

Browse files
committed
Regenerate the indexer config schema
1 parent 4d2e359 commit bcea332

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎elasticgraph-local/lib/elastic_graph/local/spec_support/config_schema.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ properties:
510510
- ABC12345678
511511
skip_record_validation_percents_by_type:
512512
description: |-
513-
Map of GraphQL type names to the percentage of records of that type whose per-record JSON schema validation should be skipped. `0` (or an absent key) validates every record of the type; `100` skips every record; values in between sample, and may be fractional. The decision is deterministic per event id (`type:id@vversion`), so the same event makes the same choice on every retry and on every indexer pod. The event envelope (op, id, type, version, json_schema_version, latency_timestamps) is always validated, regardless of this setting.
513+
Map of GraphQL type names to the percentage of records of that type whose per-record schema validation should be skipped. `0` (or an absent key) validates every record of the type; `100` skips every record; values in between sample, and may be fractional. The decision is deterministic per event id (`type:id@vversion`), so the same event makes the same choice on every retry and on every indexer pod. Each ingestion adapter always validates its event envelope, regardless of this setting.
514514
515515
With a large schema the per-record schema walk consumes a significant share of indexing CPU: every record is checked against every regex, enum, min/max, format, and abstract-type discriminator defined for its type. Skipping it trades that check for throughput, which is worthwhile when backfilling data that was already validated upstream. Leaving a percentage of records validated keeps a canary in place so schema drift still surfaces.
516516

0 commit comments

Comments
 (0)