imbajin opened a new pull request, #812:
URL: https://github.com/apache/hugegraph-toolchain/pull/812

   ## Purpose of the PR
   
   A Loader that failed before enabling loading mode could reset another 
running import's graph mode during shutdown. Record successful setup so a 
context only performs cleanup after its own confirmed mode request.
   
   ## Main Changes
   
   - Guard mode cleanup and keep its state local to the context, including 
clones.
   - Cover failed startup, rejected requests, cleanup retries and response loss 
with actual client HTTP tests.
   - Document that an unconfirmed request is not automatically rolled back, and 
concurrent successful CLI runs still need external coordination.
   
   ## Verifying these changes
   
   - [x] Need tests and can be verified as follows: the original implementation 
fails the new regression cases; Client and Loader unit suites, formatting, 
Checkstyle and clean compilation pass. These tests use a local HTTP fixture and 
do not establish Kafka or distributed coordination.
   
   ## Does this PR potentially affect the following parts?
   
   - [ ] Nope
   - [ ] Dependencies
   - [ ] Modify configurations
   - [ ] The public API
   - [x] Loader startup and cleanup
   
   ## Documentation Status
   
   - [x] `Doc - Done`: `hugegraph-loader/README.md`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to