File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
common/src/main/java/org/apache/atlas/service/redis Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public void init() throws InterruptedException {
43
43
break ;
44
44
} catch (Exception e ) {
45
45
LOG .warn ("Redis connection failed: {}. Application startup is BLOCKED. Retrying in {} seconds..." , e .getMessage (), RETRY_DELAY_MS / 1000 );
46
- MetricUtils .recordRedisConnectionFailure ();
46
+ // MetricUtils.recordRedisConnectionFailure();
47
47
// Clean up any partially created clients before retrying.
48
48
shutdownClients ();
49
49
Thread .sleep (RETRY_DELAY_MS );
@@ -60,7 +60,7 @@ private void testRedisConnectivity() throws Exception {
60
60
61
61
try {
62
62
// Test cache client
63
- LOG .debug ("Testing Redis cache client connectivity" );
63
+ LOG .info ("Testing Redis cache client connectivity" );
64
64
redisCacheClient .getBucket (testKey ).set (testValue );
65
65
String retrievedValue = (String ) redisCacheClient .getBucket (testKey ).get ();
66
66
@@ -69,10 +69,10 @@ private void testRedisConnectivity() throws Exception {
69
69
}
70
70
71
71
redisCacheClient .getBucket (testKey ).delete ();
72
- LOG .debug ("Redis connectivity test completed successfully" );
72
+ LOG .info ("Redis connectivity test completed successfully" );
73
73
74
74
} catch (Exception e ) {
75
- MetricUtils .recordRedisConnectionFailure ();
75
+ // MetricUtils.recordRedisConnectionFailure();
76
76
throw new Exception ("Redis connectivity test failed" , e );
77
77
}
78
78
}
You can’t perform that action at this time.
0 commit comments