You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unresolved critical issues can deregister healthy hosts belonging to other deployments or after duplicate launch notifications, and expose cluster-join credentials in logs.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unresolved critical issues expose administrator credentials in EC2 user data, allow concurrent launch handlers to remove joined hosts and abandon launches, and cause architecture mismatches for Graviton dynamic nodes.
Termination sweep skips hosts after the instance is released
templates/ml-dynamichosts.template:691
The sweep starts after CONTINUE releases the terminating instance, so EC2 can already report it as shutting-down or terminated. Those states are excluded from live, causing the self-hostname guard at lines 889–891 to skip cleanup and leave stale hosts behind. Run a bounded sweep before completing termination, or validate the lookup without requiring the released instance to remain running.
Token targets the first host even when it is unavailable
templates/ml-dynamichosts.template:1047
This always selects the alphabetically first configured host, even when that host or its availability zone is unavailable. Tokens then direct new nodes to the unreachable host, and retries select it again, preventing joins despite healthy cluster hosts elsewhere. Select a reachable Default-group Admin endpoint before issuing the token.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Concurrent SNS deliveries can process the same launch, allowing a failed invocation to abandon and deregister a successfully initialized host because processing is not serialized by an atomic lifecycle-token claim.
Clean up stale hosts before releasing the termination lifecycle action
templates/ml-dynamichosts.template:691
This sweep runs after CONTINUE has released the instance for termination, but remove_stale_dynamic_hosts only includes pending/running/stopping/stopped instances and returns immediately when this instance is absent. If EC2 has already advanced it to shutting-down, the sweep skips all stale-host cleanup even though the lookup is correct. Run the sweep before completing the termination lifecycle action, while the hook still holds the instance.
Choose a reachable Admin host when generating the join token
templates/ml-dynamichosts.template:1045
Always selecting the lexicographically first configured hostname directs every join token to that host even when it is down, so launches can fail during an instance or availability-zone outage despite healthy surviving static hosts. Dynamic nodes contact the host embedded in the token, not the load balancer. Select a reachable Default-group Admin endpoint before generating the token.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Token issuance fails for Basic-authenticated parent clusters, and dynamic-node data volumes omit the parent’s encryption and optional KMS settings, potentially leaving required storage unencrypted.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The AWS/MarkLogic lifecycle orchestration requires deployed integration validation of launch, group rename/rollback, and termination ordering beyond what the available static evidence can establish.
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
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.
No description provided.