[#7754] improvement(storage) : Add a configuration to disable entity store GC for RelationalEntityStore#7777
Conversation
|
@FANNG1 |
Not seeing opponent options, do you have a better suggestion? |
No, other components like statistic collectors also face the same problem, so I wonder if there is a unified solution. |
This may need a long-term, complicated solution, this could be a short-term solution to avoid unexpected results and errrors. |
|
What's the problem here? Will another GC lead to a wrong result? |
I'm not sure whether there will be error results, but I see many error & warning logs |
|
I agree with @yuqi1129; adding a configuration is easy. However, we should have a thorough solution for multi-server deployment, not a band-aid fix. At least we should identify the errors and figure out reasons. We haven't claimed that we support multi-active deployment, such problem should be treated as a whole to address this problem. |
… feat/disable-entity-store-gc
…to feat/disable-entity-store-gc
What changes were proposed in this pull request?
Added a configuration to disable GC for relational entity stores
Why are the changes needed?
To provide an option to disable entity store GC in some server to make only one server start the GC in case multiple servers use the same RDMS.
Fix: #7754
Does this PR introduce any user-facing change?
No
How was this patch tested?
N/A