wayilau commented on issue #2725: Add cluster-etcd-plugin
URL: https://github.com/apache/skywalking/pull/2725#issuecomment-501182705
 
 
   > > > @wayilau Another thing,when the key's value always be null after 
expired , like this:
   > > > ```json
   > > > {
   > > > "action": "get",
   > > > "node": {
   > > > "key": "/SkyWalking_OAP_Cluster",
   > > > "dir": true,
   > > > "modifiedIndex": 4,
   > > > "createdIndex": 4'
   > > > }
   > > > }
   > > > ```
   > > 
   > > 
   > > 'SkyWalking_OAP_Cluster' is dir for etcd key to store, which is not be 
removed when ttl is ocurred. you want to remove the dir after ttl ?
   > 
   > If we clean the dir, we must wait all the key's ttl.
   > 
   > > > > @wayilau Another thing,when the key's value always be null after 
expired , like this:
   > > > > ```json
   > > > > {
   > > > > "action": "get",
   > > > > "node": {
   > > > > "key": "/SkyWalking_OAP_Cluster",
   > > > > "dir": true,
   > > > > "modifiedIndex": 4,
   > > > > "createdIndex": 4
   > > > > }
   > > > > }
   > > > > ```
   > > > 
   > > > 
   > > > 'SkyWalking_OAP_Cluster' is dir for etcd key to store, which is not be 
removed when ttl is ocurred. you want to remove the dir after ttl ?
   > > 
   > > 
   > > No, I mean that the value in this dir should not be null when my 
skywalking-oap is running.
   > 
   > i see, it needs renew. I check this.
   
   I give the ttl 45 sec. renew time is every 30 sec. when renew is comming, a 
new ttl time reset. when oap-server exit, renew lost, then when ttl comes,  
etcd will remove the key.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to