Added Logs to Debug Partition Latency Issue
4 unresolved threads
4 unresolved threads
Added Logs to Debug Partition Latency Issue
Merge request reports
Activity
requested review from @NikhilSingh
assigned to @aayushijain
@komakkar Need a quick review pls for any one FILE. Are these logs polluting client's telemetry? Reason : To identify why GET calls are taking huge time abruptly
- Resolved by Aayushi Jain
- Resolved by Aayushi Jain
114 118 @SuppressWarnings("unchecked") 115 119 private List<PartitionEntity> getAllByPartitionId(String partitionId) { 116 120 List<PartitionEntity> out = new ArrayList<>(); 121 long startTime = System.currentTimeMillis(); 117 122 Iterable<PartitionEntity> results = (Iterable<PartitionEntity>) 118 123 this.cloudTableStore.queryByKey(PartitionEntity.class, 119 124 PARTITION_KEY, partitionId); 125 log.info(String.format("Complete Cloud Store Query Method Time: %d", System.currentTimeMillis() - startTime)); changed this line in version 3 of the diff
86 88 87 89 @Override 88 90 public PartitionInfo getPartition(String partitionId) { 91 long startTime = System.currentTimeMillis(); changed this line in version 3 of the diff
mentioned in commit accfbcf0
Please register or sign in to reply