Elffuss BraidHub

kikocis/java-driver public

JAVA-861: Downgrade "Asked to rebuild table" log from ERROR to INFO level.
Changeset1b8b88ac513c5b5a3379d388f156ce0114d2d9deb15b7a14e66fdc197eaa470d
AuthorAlexandre Dutra <alexandre.dutra@datastax.com> · 2015-08-07 18:00 +02:00
CommitterAlexandre Dutra <alexandre.dutra@datastax.com> · 2015-08-07 18:28 +02:00
Parents737c32e67bbc

Browse the files at this changeset

2 files changed

modified changelog/README.md +1 −0
@@ -30,6 +30,7 @@
3030 - [bug] Handle contact points removed during init (JAVA-792)
3131 - [improvement] Allow PlainTextAuthProvider to change its credentials at runtime (JAVA-719)
3232 - [new feature] Make it possible to register for SchemaChange Events (JAVA-151)
33+- [improvement] Downgrade "Asked to rebuild table" log from ERROR to INFO level (JAVA-861)
3334
3435 Merged from 2.0.10_fixes branch:
3536
modified driver-core/src/main/java/com/datastax/driver/core/Metadata.java +1 −1
@@ -67,7 +67,7 @@
6767 // If we update a keyspace we don't know about, something went
6868 // wrong. Log an error and schedule a full schema rebuild.
6969 if (keyspace == null) {
70- logger.error(String.format("Asked to rebuild table %s.%s but I don't know keyspace %s", keyspaceToRebuild, tableToRebuild, keyspaceToRebuild));
70+ logger.info(String.format("Asked to rebuild table %s.%s but I don't know keyspace %s", keyspaceToRebuild, tableToRebuild, keyspaceToRebuild));
7171 cluster.submitSchemaRefresh(null, null);
7272 return;
7373 }