You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created project that reproduces my issue at https://github.com/Jenya95/liquibase-cassandra-issue
I'm using liquibase directly from java to create objects in database. For other types of database it works well, but for cassandra - program never ends because of number of living non-daemon threads. Close connection did not help.
Log like this: (pay attention on threads at the end of log):
[main] INFO com.datastax.oss.driver.internal.core.DefaultMavenCoordinates - DataStax Java driver for Apache Cassandra(R) (com.datastax.oss:java-driver-core) version 4.8.0
[s0-admin-0] INFO com.datastax.oss.driver.internal.core.time.Clock - Using native clock for microsecond precision
[s0-io-2] WARN com.datastax.oss.driver.api.core.auth.PlainTextAuthProviderBase - [] localhost/127.0.0.1:9042 did not send an authentication challenge; This is suspicious because the driver expects authentication
[s0-io-3] WARN com.datastax.oss.driver.api.core.auth.PlainTextAuthProviderBase - [] localhost/127.0.0.1:9042 did not send an authentication challenge; This is suspicious because the driver expects authentication
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Sep 29, 2021 10:55:14 AM liquibase.ext
INFO: No DATABASECHANGELOGLOCK available in cassandra.
Sep 29, 2021 10:55:14 AM liquibase.ext
INFO: successfully.acquired.change.log.lock
Sep 29, 2021 10:55:14 AM liquibase.ext
WARNING: expecting exactly 1 table with name DATABASECHANGELOG, got 0
Sep 29, 2021 10:55:14 AM liquibase.ext
INFO: Creating database history table with name: sample.DATABASECHANGELOG
Sep 29, 2021 10:55:14 AM liquibase.ext
INFO: Reading from sample.DATABASECHANGELOG
Sep 29, 2021 10:55:15 AM liquibase.changelog
INFO: SQL in file scripts/sample_table.cql executed
Sep 29, 2021 10:55:15 AM liquibase.changelog
INFO: ChangeSet cassandra-scheme/changesets/sample-table-init-1.0.xml::create_sample_table::me ran successfully in 65ms
Sep 29, 2021 10:55:15 AM liquibase.ext
INFO: Successfully released change log lock
[Thread-35] INFO com.sample.LiquibaseApp - ----------------------------
[Thread-35] INFO com.sample.LiquibaseApp - Threads prevent to stop jvm:
[Thread-35] INFO com.sample.LiquibaseApp - 80:cluster3-connection-reaper-0
[Thread-35] INFO com.sample.LiquibaseApp - 127:cluster5-nio-worker-0
[Thread-35] INFO com.sample.LiquibaseApp - 120:cluster4-nio-worker-0
[Thread-35] INFO com.sample.LiquibaseApp - 123:cluster4-worker-0
[Thread-35] INFO com.sample.LiquibaseApp - 146:cluster7-worker-0
[Thread-35] INFO com.sample.LiquibaseApp - 184:DestroyJavaVM
...
The text was updated successfully, but these errors were encountered:
Jenya95
changed the title
Liquibase migration run from java code never ends because of number of living non-deamon threads
Liquibase migration run from java code never ends because of number of living non-daemon threads
Sep 29, 2021
I've created project that reproduces my issue at https://github.com/Jenya95/liquibase-cassandra-issue
I'm using liquibase directly from java to create objects in database. For other types of database it works well, but for cassandra - program never ends because of number of living non-daemon threads. Close connection did not help.
Log like this: (pay attention on threads at the end of log):
┆Issue is synchronized with this Jira Bug by Unito
The text was updated successfully, but these errors were encountered: