haohao0103 opened a new pull request, #2577:
URL: https://github.com/apache/incubator-hugegraph/pull/2577
Resolved the cache invalidation of the partition->leader shard in ClientCache
## Purpose of the PR
close #2576
<!--
Please explain more context in this section, clarify why the changes are
needed.
e.g:
- If you propose a new API, clarify the use case for a new API.
- If you fix a bug, you can clarify why it is a bug, and should be
associated with an issue.
-->
## Main Changes
1、Set the initialization flag to false after resetting the cache, allowing
reinitialization;
2、If the cache misses, the cache is updated with the results of the query
from the PD.
--
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]