You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by GitBox <gi...@apache.org> on 2020/09/09 14:26:49 UTC

[GitHub] [celix] unitink72 opened a new issue #283: etcd client watch API not consistently working

unitink72 opened a new issue #283:
URL: https://github.com/apache/celix/issues/283


   I'm trying to run the example test, etcdlib_test that comes in the source repo.  The watch API part does not run reliably.  Sometimes it works, sometimes the first watch API call works then the second fails, sometimes it fails right away.  The first transaction to set a database entry and then check its value always works fine.
   
   Some things I've tried:
   Changing wait times
   Creating a separate etcdlib_t within the pthread
   Spinning up the old version of etcd mentioned in the comments - 2.3.7
   Tried on two different machines - both Ubuntu, one with etcd in a docker container
   Adding lots of new printfs
   
   No matter what I tried, sometimes the call etcdlib_watch just hangs even though it shouldn't.  The test in libs/etcdlib/test should duplicate my issue, but I'm also including my test which adds some printf's to more clearly show the issue.
   
   [etcdlib_test.c.txt](https://github.com/apache/celix/files/5195832/etcdlib_test.c.txt)
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [celix] Oipo commented on issue #283: etcd client watch API not consistently working

Posted by GitBox <gi...@apache.org>.
Oipo commented on issue #283:
URL: https://github.com/apache/celix/issues/283#issuecomment-696246565


   Good to hear! Closing issue, but if it happens again, feel free to make a new issue.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [celix] unitink72 commented on issue #283: etcd client watch API not consistently working

Posted by GitBox <gi...@apache.org>.
unitink72 commented on issue #283:
URL: https://github.com/apache/celix/issues/283#issuecomment-690352051


   I updated to the latest, d2defb7.  Appears to work solid again.  


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [celix] Oipo commented on issue #283: etcd client watch API not consistently working

Posted by GitBox <gi...@apache.org>.
Oipo commented on issue #283:
URL: https://github.com/apache/celix/issues/283#issuecomment-690139904


   Thank you for the issue.
   
   Can you retry with the 64d91119e2161d5c167807c3a5c9808ec32fcd21 commit? It seems like that may be the fix.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [celix] Oipo closed issue #283: etcd client watch API not consistently working

Posted by GitBox <gi...@apache.org>.
Oipo closed issue #283:
URL: https://github.com/apache/celix/issues/283


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [celix] Oipo commented on issue #283: etcd client watch API not consistently working

Posted by GitBox <gi...@apache.org>.
Oipo commented on issue #283:
URL: https://github.com/apache/celix/issues/283#issuecomment-696246565


   Good to hear! Closing issue, but if it happens again, feel free to make a new issue.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [celix] Oipo closed issue #283: etcd client watch API not consistently working

Posted by GitBox <gi...@apache.org>.
Oipo closed issue #283:
URL: https://github.com/apache/celix/issues/283


   


----------------------------------------------------------------
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:
users@infra.apache.org