File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
server/src/main/java/org/elasticsearch/ingest Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -615,7 +615,9 @@ private int hashException(Exception e) {
615615 /*
616616 * If the sample stats report more raw documents than the maximum size allowed for this sample, then this method creates a new
617617 * cloned copy of the stats, but with the reported samples lowered to maxSize, and the reported rejected documents increased by the
618- * same amount. This avoids the confusing situation of the stats reporting more samples than the user has configured.
618+ * same amount. This avoids the confusing situation of the stats reporting more samples than the user has configured. This can
619+ * happen in a multi-node cluster when each node has collected fewer than maxSize raw documents but the total across all nodes is
620+ * greater than maxSize.
619621 */
620622 public SampleStats adjustForMaxSize (int maxSize ) {
621623 long actualSamples = samples .longValue ();
You can’t perform that action at this time.
0 commit comments