An error occurred during flushing data to database

Docker Image jetbrains/upsource 2018.2.1291

Docker Host: 8GB RAM, Debian 9 64Bit

Hi all,

I'm getting really annoyed with Upsource. The developers currently testing Upsource will probably look for an alternative. Why ??

We've run Upsource as Docker Image, standard. The container works a while then the DB is disconnected.

Logs:

==> upsource-frontend/error.log <==
[2019-07-30 06:49:54,098] ERROR r: update topology-1 essaging.impl.TopologyProvider - [127.0.0.1:10001]: failed to update messaging topology
java.lang.Error: An error occurred during flushing data to database
at com.jetbrains.upsource.db.impl.DatabaseFlushExecutorImpl.consume(DatabaseFlushExecutorImpl.java:194)
at com.jetbrains.upsource.db.impl.AbstractBufferingWriter.a(AbstractBufferingWriter.kt:135)

..

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at com.jetbrains.upsource.util.NamedDaemonThreadFactory.a(NamedDaemonThreadFactory.java:34)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.RejectedExecutionException: Writer to db 'UpsourceSystem' is corrupted due to unrecoverable problem.
at com.jetbrains.upsource.db.impl.DatabaseFlushExecutorImpl.consume(DatabaseFlushExecutorImpl.java:172)
... 16 more
Caused by: com.jetbrains.upsource.db.api.query.DatabaseConnectionError: Database connection failure
at com.jetbrains.upsource.database.datastax.ThroughDbMediator.submitWriteTask(ThroughDbMediator.kt:48)
at com.jetbrains.upsource.database.datastax.ThroughDbMediator$submitWriteTask$1.invokeSuspend(ThroughDbMediator.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:234)
at kotlinx.coroutines.EventLoopBase.processNextEvent(EventLoop.kt:123)

...

2019-07-30 06:51:24,129] [Upsource Frontend Error] Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:10020 (com.datastax.driver.core.exceptions.ConnectionException: [/127.0.0.1:10020] Pool is shutdown))
[2019-07-30 06:51:24,129] [Upsource Frontend Error] at com.datastax.driver.core.RequestHandler.reportNoMoreHosts(RequestHandler.java:284)
[2019-07-30 06:51:24,129] [Upsource Frontend Error] at com.datastax.driver.core.RequestHandler.access$1200(RequestHandler.java:62)
[2019-07-30 06:51:24,129] [Upsource Frontend Error] at com.datastax.driver.core.RequestHandler$SpeculativeExecution.findNextHostAndQuery(RequestHandler.java:376)
[2019-07-30 06:51:24,129] [Upsource Frontend Error] at com.datastax.driver.core.RequestHandler$SpeculativeExecution$1.onFailure(RequestHandler.java:445)
[2019-07-30 06:51:24,129] [Upsource Frontend Error] at com.google.common.util.concurrent.Futures$6.run(Futures.java:1764)

....

Docker Config:

docker run -it --rm --name xxxx-UPSOURCE -v /srv/app/xxxx/data/:/opt/upsource/data -v /srv/app/xxxx/conf/:/opt/upsource/conf -v /srv/app/xxxx/logs/:/opt/upsource/logs -v /srv/app/xxxx/backups/:/opt/upsource/backups -p 8083:8083 jetbrains/upsource:2019.1.1460 configure --listen-port 8083 --base-url https://xxxx.xxx -J-Xmx4096m

Container start:

docker run -d -it --name xxxx-UPSOURCE -v /srv/app/xxxx/data/:/opt/upsource/data -v /srv/app/xxxx/conf/:/opt/upsource/conf -v /srv/app/xxxx/logs/:/opt/upsource/logs -v /srv/app/xxxx/backups/:/opt/upsource/backups -p 8083:8083 jetbrains/upsource:2019.1.1460

 

The folders have all write permissions.

If we don't get the Upsource problems under control, upssource is history.
Can anyone help?

Regards, Tom.

Please sign in to leave a comment.