Skip to content

[CI] TransformIT.testStopWaitForCheckpoint #70416

@davidkyle

Description

@davidkyle

Build scan:
https://gradle-enterprise.elastic.co/s/dharwo34gzsem

Repro line:

./gradlew ':x-pack:plugin:transform:qa:multi-node-tests:javaRestTest' --tests "org.elasticsearch.xpack.transform.integration.TransformIT.testStopWaitForCheckpoint" \
  -Dtests.seed=733ADC0CFE2A526 \
  -Dtests.security.manager=true \
  -Dtests.locale=und \
  -Dtests.timezone=America/Indiana/Vincennes \
  -Druntime.java=11 \
  -Dtests.fips.enabled=true

Reproduces locally?:
No

Applicable branches:
7.x

Failure history:
Rare

Failure excerpt:

ElasticsearchStatusException[Elasticsearch exception [type=status_exception, reason=Failed to update transform task [transform-wait-for-checkpoint] state value should_stop_at_checkpoint from [true] to [true]]]

I noticed in the logs

java.lang.RuntimeException: Failed to persist transform statistics for transform [transform-wait-for-checkpoint]
	at org.elasticsearch.xpack.transform.persistence.IndexBasedTransformConfigManager.lambda$putOrUpdateTransformStoredDoc$14(IndexBasedTransformConfigManager.java:528) [transform-7.13.0-SNAPSHOT.jar:7.13.0-SNAPSHOT]

....
Caused by: org.elasticsearch.index.engine.VersionConflictEngineException: [data_frame_transform_state_and_stats-transform-wait-for-checkpoint]: version conflict, required seqNo [9], primary term [1]. current document has seqNo [11] and primary term [1]

Log files uploaded here

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions