You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/01/23 07:33:46 UTC
[GitHub] wu-sheng opened a new pull request #2195: Register lock refactor
wu-sheng opened a new pull request #2195: Register lock refactor
URL: https://github.com/apache/incubator-skywalking/pull/2195
Since we are using id generation mechanism in 6.0.0-GA, I found out there is no need to provide a long term long lock and try to release it after the whole register complete.
We just need a simple `getId` method and generate the target inventory id or `0`(means failure).
So I refactor the codes of es and sql register.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services