question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RethinkDbPublisher, define timeout

See original GitHub issue

When there are problems of connectivity with RethinkDbPublisher executions hangs with:

[RethinkDbPublisher]: ================
[RethinkDbPublisher]: RethinkDbPublisher
[RethinkDbPublisher]: publishBuildMetrics: true
[RethinkDbPublisher]: publishTaskMetrics: true
[RethinkDbPublisher]: ================
[Talaiot]: Shutting down executor. Not yet. Still waiting for termination
[Talaiot]: Shutting down executor. Not yet. Still waiting for termination
[Talaiot]: Shutting down executor. Not yet. Still waiting for termination
[Talaiot]: Shutting down executor. Not yet. Still waiting for termination
[Talaiot]: Shutting down executor. Not yet. Still waiting for termination
[Talaiot]: Shutting down executor. Not yet. Still waiting for termination

Check timeout options in RethinkDbPublisher

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
MyDogTomcommented, Apr 11, 2020

Sorry I’m afraid I don’t have enough knowledge to give a valuable input here. I’ll definitely take a closer look at the implementation to learn more. btw, time to time I also see

[Talaiot]: Shutting down executor. Not yet. Still waiting for termination

with InfluxDbPublisher, but only one occurrence per build.

1reaction
cdsapcommented, Apr 11, 2020

Hi @mokkun First, yep, the case using awaitTermination covers the case for the RethinkDbPublisher. It should be applied for the other publishers, but in case of InfluxDb it’s defined in the api of the influx client.

This bring to your second point about the “Network” implementation for the interface Publisher. I’m absolutely agree. Talaiot needs to implement a consistent network layer. Before entering in details I have some notes:

  • Some publishers are using external dependencies to abstract the network logic,our new network implementation should cover cases when we have to use external apis, for example: – RethinkDbPublisher --> com.rethinkdb:rethinkdb-driver:ElasticDbPublisher --> org.elasticsearch.client:elasticsearch-rest-high-level-client:7.3.0InfluxDb --> org.influxdb:influxdb-java:
  • What do you think if for the threading model use Coroutines? First version of Talaiot was under 4.x Gradle Version. When we were targeting lower AGP versions, there were problems integrating Coroutines because the embedded Kotlin Compiler. Now is not a problem, should we move to coroutines in the new implementation?

Do you have more notes? @MyDogTom do you have any suggestions/notes for this rework of the Network Layer? Once we have the notes/suggestion collected we can create the issues/tasks and start working in this rework.

So, thank you very much for this proposals, I really appreciate it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReQL command: wait - RethinkDB
timeout : a number indicating maximum time, in seconds, to wait for the table to be ready. If this value is exceeded, a...
Read more >
ReQL command: next - RethinkDB
Calling next the first time on a cursor provides the first element of the cursor. If the data set is exhausted (e.g., you...
Read more >
ReQL command: js - RethinkDB
timeout is the number of seconds before r.js times out. The default value is 5 seconds. Whenever possible, you should use native ReQL...
Read more >
RethinkDB command line options
Many of these options can also be set in the configuration file; read Configuration ... --cluster-reconnect-timeout secs : the amount of time, in...
Read more >
Fix timeout errors in Zaps - Zapier
A timeout error, or a message that your request has timed out, means that the app Zapier is trying to connect to is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found