-
Notifications
You must be signed in to change notification settings - Fork 569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Operate import slows down in case of data loss #19424
Labels
component/operate
Related to the Operate component/team
kind/bug
Categorizes an issue or PR as a bug
Release: 8.3.13
Release: 8.4.10
Release: 8.5.4
support
Marks an issue as related to a customer support request
version:8.2.28
Label that represents issues released on version 8.2.28
Comments
sdorokhova
added
kind/bug
Categorizes an issue or PR as a bug
component/operate
Related to the Operate component/team
labels
Jun 17, 2024
sdorokhova
changed the title
Operate import slow down in case of data loss
Operate import slows down in case of data loss
Jun 17, 2024
github-actions
bot
added
the
support
Marks an issue as related to a customer support request
label
Jun 17, 2024
sdorokhova
added a commit
that referenced
this issue
Jun 17, 2024
* introduce new config parameters `camunda.operate.importer.retryReadingParents` which will prevent retrying with sleep call when reading parents from Elastic/Opensearch * we have a `sleep` call in Incident post processor also. The reason: we want to wait for Elastic refresh shards, before processing the next batch. Replaced it with scheduling next call with delay. Also increased backoff period to 5 sec. Closes #19424
sdorokhova
added a commit
that referenced
this issue
Jun 17, 2024
* introduce new config parameters `camunda.operate.importer.retryReadingParents` which will prevent retrying with sleep call when reading parents from Elastic/Opensearch * we have a `sleep` call in Incident post processor also. The reason: we want to wait for Elastic refresh shards, before processing the next batch. Replaced it with scheduling next call with delay. Also increased backoff period to 5 sec. Closes #19424
sdorokhova
added a commit
that referenced
this issue
Jun 17, 2024
* introduce new config parameters `camunda.operate.importer.retryReadingParents` which will prevent retrying with sleep call when reading parents from Elastic/Opensearch * we have a `sleep` call in Incident post processor also. The reason: we want to wait for Elastic refresh shards, before processing the next batch. Replaced it with scheduling next call with delay. Also increased backoff period to 5 sec. Closes #19424
sdorokhova
added a commit
that referenced
this issue
Jun 17, 2024
* introduce new config parameters `camunda.operate.importer.retryReadingParents` which will prevent retrying with sleep call when reading parents from Elastic/Opensearch * we have a `sleep` call in Incident post processor also. The reason: we want to wait for Elastic refresh shards, before processing the next batch. Replaced it with scheduling next call with delay. Also increased backoff period to 5 sec. Closes #19424
/public |
sdorokhova
added a commit
that referenced
this issue
Jun 18, 2024
* introduce new config parameters `camunda.operate.importer.retryReadingParents` which will prevent retrying with sleep call when reading parents from Elastic/Opensearch * we have a `sleep` call in Incident post processor also. The reason: we want to wait for Elastic refresh shards, before processing the next batch. Replaced it with scheduling next call with delay. Also increased backoff period to 5 sec. Closes #19424
sdorokhova
added a commit
that referenced
this issue
Jun 19, 2024
* introduce new config parameters `camunda.operate.importer.retryReadingParents` which will prevent retrying with sleep call when reading parents from Elastic/Opensearch * we have a `sleep` call in Incident post processor also. The reason: we want to wait for Elastic refresh shards, before processing the next batch. Replaced it with scheduling next call with delay. Also increased backoff period to 5 sec. Closes #19424
sdorokhova
added
the
version:8.2.28
Label that represents issues released on version 8.2.28
label
Jul 1, 2024
sdorokhova
added a commit
that referenced
this issue
Jul 1, 2024
* introduce new config parameters `camunda.operate.importer.retryReadingParents` which will prevent retrying with sleep call when reading parents from Elastic/Opensearch * we have a `sleep` call in Incident post processor also. The reason: we want to wait for Elastic refresh shards, before processing the next batch. Replaced it with scheduling next call with delay. Also increased backoff period to 5 sec. Closes #19424
sdorokhova
added a commit
that referenced
this issue
Jul 8, 2024
* introduce new config parameters `camunda.operate.importer.retryReadingParents` which will prevent retrying with sleep call when reading parents from Elastic/Opensearch * we have a `sleep` call in Incident post processor also. The reason: we want to wait for Elastic refresh shards, before processing the next batch. Replaced it with scheduling next call with delay. Also increased backoff period to 5 sec. Closes #19424
renovate bot
pushed a commit
that referenced
this issue
Jul 8, 2024
* introduce new config parameters `camunda.operate.importer.retryReadingParents` which will prevent retrying with sleep call when reading parents from Elastic/Opensearch * we have a `sleep` call in Incident post processor also. The reason: we want to wait for Elastic refresh shards, before processing the next batch. Replaced it with scheduling next call with delay. Also increased backoff period to 5 sec. Closes #19424
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component/operate
Related to the Operate component/team
kind/bug
Categorizes an issue or PR as a bug
Release: 8.3.13
Release: 8.4.10
Release: 8.5.4
support
Marks an issue as related to a customer support request
version:8.2.28
Label that represents issues released on version 8.2.28
Describe the bug
When searching for flow node instance parents we try for 2 times with 2 seconds delay for the case when parent flow node instance was imported with the previous batch but Elastic refresh did not yet happen. This 2 seconds sleep becomes a problem in case of high data load and piece of data with the parents has been lost. In this case for every imported child we will wait for 2 seconds when searching for parent which make import extremely slow.
We should avoid blocking import for 2 seconds.
To Reproduce
Steps to reproduce the behavior:
Current behavior
The import is waiting for 2 seconds before reporting missing parent and continuing.
Expected behavior
No waiting.
Environment
Additional context
Related support case: https://jira.camunda.com/browse/SUPPORT-22204
Acceptance Criteria
Definition of Ready - Checklist
Bug-area
labelFor UI changes required to solve the bug:
Implementation
🔍 Root Cause Analysis
💭 Proposed Solution
👉 Handover Dev to QA
BPMN/DMN models, plugins, scripts, REST API endpoints + example payload, etc :
📗 Link to the test case
The text was updated successfully, but these errors were encountered: