@@ -52,7 +52,7 @@ pub(super) struct IngesterShard {
5252 pub doc_mapper_opt : Option < Arc < DocMapper > > ,
5353 /// Whether to validate documents in this shard. True if no preprocessing (VRL) will happen
5454 /// before indexing.
55- pub validate : bool ,
55+ pub validate_docs : bool ,
5656 pub shard_status_tx : watch:: Sender < ShardStatus > ,
5757 pub shard_status_rx : watch:: Receiver < ShardStatus > ,
5858 /// Instant at which the shard was last written to.
@@ -67,7 +67,7 @@ impl IngesterShard {
6767 truncation_position_inclusive : Position ,
6868 doc_mapper : Arc < DocMapper > ,
6969 now : Instant ,
70- validate : bool ,
70+ validate_docs : bool ,
7171 ) -> Self {
7272 let shard_status = ( shard_state, replication_position_inclusive. clone ( ) ) ;
7373 let ( shard_status_tx, shard_status_rx) = watch:: channel ( shard_status) ;
@@ -78,7 +78,7 @@ impl IngesterShard {
7878 truncation_position_inclusive,
7979 is_advertisable : false ,
8080 doc_mapper_opt : Some ( doc_mapper) ,
81- validate ,
81+ validate_docs ,
8282 shard_status_tx,
8383 shard_status_rx,
8484 last_write_instant : now,
@@ -103,7 +103,7 @@ impl IngesterShard {
103103 // anyway.
104104 is_advertisable : false ,
105105 doc_mapper_opt : None ,
106- validate : false ,
106+ validate_docs : false ,
107107 shard_status_tx,
108108 shard_status_rx,
109109 last_write_instant : now,
@@ -116,7 +116,7 @@ impl IngesterShard {
116116 truncation_position_inclusive : Position ,
117117 doc_mapper_opt : Option < Arc < DocMapper > > ,
118118 now : Instant ,
119- validate : bool ,
119+ validate_docs : bool ,
120120 ) -> Self {
121121 let shard_status = ( shard_state, replication_position_inclusive. clone ( ) ) ;
122122 let ( shard_status_tx, shard_status_rx) = watch:: channel ( shard_status) ;
@@ -127,7 +127,7 @@ impl IngesterShard {
127127 truncation_position_inclusive,
128128 is_advertisable : false ,
129129 doc_mapper_opt,
130- validate ,
130+ validate_docs ,
131131 shard_status_tx,
132132 shard_status_rx,
133133 last_write_instant : now,
0 commit comments