haohao0103 commented on PR #2620:
URL: 
https://github.com/apache/incubator-hugegraph/pull/2620#issuecomment-2295577048

   > thanks for you push code for solve the problem, this is a great code, but 
i have some different advise for that. ohh, the transaction monitor some event 
happen, meawhile, the code change the state local, every instance maybe need 
care the event, so we should allow repeated event register; for the problem, i 
think the main problem maybe is the threadlocal not correct release, that make 
the listen not be remove
   
   thanks , i try to understand  what you mean , Indeed, there some issues with 
threadlocal processing,and my code did not address this problem. In addition ,I 
thind it is indeed valuable to pay attention to events for each transaction 
instance; But in the current sceario,based on my understanding,this operation 
seems redundant because schema and vertex/edge cache are both global sinleton, 
and it seems unnecessay to execute their operations on every transaction 
instance. of course ,if there are personalized scenarios that allow for 
reregistration of listener,it is indeed necessary and valuable.this is my idea, 
welcome to correct it.


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