linhongyu510 opened a new pull request, #224:
URL: https://github.com/apache/doris-mcp-server/pull/224

   Fixes #223
   
   单锁所有权:_recover_pool 持有 _recovery_lock 作为恢复操作唯一所有者,避免多个并发恢复路径竞争同一资源。
   generation 防重:记录观察到的 generation,若等待锁期间已有其他 waiter 重建过 pool,则跳过重复重建。
   入口兼容:保留 _recover_pool_with_lock 作为带锁入口委托,确保调用链清晰且不会绕过新锁。
   
   Tests:
   - 21 passed
   - DB-related 64 passed
   - ruff
   - mypy db.py
   - git diff --check
   
   AI Assistance Disclosure:
   AI assisted investigation/implementation/test drafting; author reviewed code 
and ran tests.


-- 
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