@@ -97,7 +97,7 @@ public void run() {
97
97
}
98
98
99
99
public static void postpone (AppContext context , RepairSegment segment ) {
100
- LOG .warn ("Postponing segment {}" , segment .getId ());
100
+ LOG .info ("Postponing segment {}" , segment .getId ());
101
101
context .storage .updateRepairSegment (segment .with ()
102
102
.state (RepairSegment .State .NOT_STARTED )
103
103
.coordinatorHost (null )
@@ -237,7 +237,7 @@ boolean canRepair(RepairSegment segment, String keyspace, JmxProxy coordinator)
237
237
try (JmxProxy hostProxy = context .jmxConnectionFactory .connect (hostName )) {
238
238
int pendingCompactions = hostProxy .getPendingCompactions ();
239
239
if (pendingCompactions > MAX_PENDING_COMPACTIONS ) {
240
- LOG .warn ("SegmentRunner declined to repair segment {} because of too many pending "
240
+ LOG .info ("SegmentRunner declined to repair segment {} because of too many pending "
241
241
+ "compactions (> {}) on host \" {}\" " , segmentId , MAX_PENDING_COMPACTIONS ,
242
242
hostProxy .getHost ());
243
243
String msg = String .format ("Postponed due to pending compactions (%d)" ,
@@ -246,7 +246,7 @@ boolean canRepair(RepairSegment segment, String keyspace, JmxProxy coordinator)
246
246
return false ;
247
247
}
248
248
if (hostProxy .isRepairRunning ()) {
249
- LOG .warn ("SegmentRunner declined to repair segment {} because one of the hosts ({}) was "
249
+ LOG .info ("SegmentRunner declined to repair segment {} because one of the hosts ({}) was "
250
250
+ "already involved in a repair" , segmentId , hostProxy .getHost ());
251
251
String msg = "Postponed due to affected hosts already doing repairs" ;
252
252
repairRunner .updateLastEvent (msg );
0 commit comments