MLE-22761 docker init fix#382
Merged
vitalykorolev merged 3 commits intoSep 8, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR addresses initialization timeout issues in high-latency environments by increasing curl timeout values and retry counts for Docker container initialization. It adds configuration for handling network latency during MarkLogic server startup.
- Increases default curl timeout from 30 to 300 seconds and retry count from 5 to 15
- Adds special handling for non-idempotent instance-admin endpoint to prevent multiple calls
- Creates test infrastructure to simulate high-latency network conditions
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| test/keywords.resource | Adds new keyword for creating containers with simulated network latency |
| test/docker-tests.robot | Adds test case to verify container initialization under high-latency conditions |
| src/scripts/start-marklogic.sh | Updates curl timeouts, retry logic, and adds special handling for instance-admin endpoint |
| src/scripts/start-marklogic-rootless.sh | Same timeout and retry improvements as main script for rootless containers |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
6139c5a to
d440895
Compare
rwinieski
approved these changes
Aug 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Checklist:
Owner:
JIRA_ID as part of branch/PR name
Rebase the branch with upstream
Squashed all commits into a single commit
Added Tests
Reviewer:
Reviewed Tests
Added to Release Wiki/Jira