mirror of https://github.com/apache/kafka.git
				
				
				
			test
This commit is contained in:
		
							parent
							
								
									3c25e02524
								
							
						
					
					
						commit
						3dab6159e8
					
				|  | @ -1574,6 +1574,7 @@ class UnifiedLog(@volatile var logStartOffset: Long, | ||||||
| 
 | 
 | ||||||
|   private def deleteRetentionSizeBreachedSegments(): Int = { |   private def deleteRetentionSizeBreachedSegments(): Int = { | ||||||
|     val retentionSize: Long = localRetentionSize(config, remoteLogEnabled()) |     val retentionSize: Long = localRetentionSize(config, remoteLogEnabled()) | ||||||
|  |     System.err.print(s"$name $size ") | ||||||
|     if (retentionSize < 0 || size < retentionSize) return 0 |     if (retentionSize < 0 || size < retentionSize) return 0 | ||||||
|     var diff = size - retentionSize |     var diff = size - retentionSize | ||||||
|     def shouldDelete(segment: LogSegment, nextSegmentOpt: Option[LogSegment]): Boolean = { |     def shouldDelete(segment: LogSegment, nextSegmentOpt: Option[LogSegment]): Boolean = { | ||||||
|  |  | ||||||
|  | @ -88,7 +88,6 @@ public abstract class ShutdownableThread extends Thread { | ||||||
|         synchronized (this) { |         synchronized (this) { | ||||||
|             if (isRunning()) { |             if (isRunning()) { | ||||||
|                 log.info("Shutting down"); |                 log.info("Shutting down"); | ||||||
|                 System.err.println(logPrefix + " shutting down"); |  | ||||||
|                 shutdownInitiated.countDown(); |                 shutdownInitiated.countDown(); | ||||||
|                 if (isInterruptible) |                 if (isInterruptible) | ||||||
|                     interrupt(); |                     interrupt(); | ||||||
|  | @ -108,7 +107,6 @@ public abstract class ShutdownableThread extends Thread { | ||||||
|             if (isStarted) |             if (isStarted) | ||||||
|                 shutdownComplete.await(); |                 shutdownComplete.await(); | ||||||
|             log.info("Shutdown completed"); |             log.info("Shutdown completed"); | ||||||
|             System.err.println(logPrefix + " shutted down"); |  | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue