File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
bookkeeper-server/src/main/java/org/apache/bookkeeper/proto Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ protected void processPacket() {
8181 }
8282 } catch (OperationRejectedException e ) {
8383 requestProcessor .getRequestStats ().getAddEntryRejectedCounter ().inc ();
84- // Avoid to log each occurence of this exception as this can happen when the ledger storage is
84+ // Avoid to log each occurrence of this exception as this can happen when the ledger storage is
8585 // unable to keep up with the write rate.
8686 if (LOG .isDebugEnabled ()) {
8787 LOG .debug ("Operation rejected while writing {}" , request , e );
@@ -91,7 +91,8 @@ protected void processPacket() {
9191 LOG .error ("Error writing {}" , request , e );
9292 rc = BookieProtocol .EIO ;
9393 } catch (BookieException .LedgerFencedException lfe ) {
94- LOG .error ("Attempt to write to fenced ledger" , lfe );
94+ LOG .warn ("Write attempt on fenced ledger {} by client {}" , request .getLedgerId (),
95+ requestHandler .ctx ().channel ().remoteAddress ());
9596 rc = BookieProtocol .EFENCED ;
9697 } catch (BookieException e ) {
9798 LOG .error ("Unauthorized access to ledger {}" , request .getLedgerId (), e );
You can’t perform that action at this time.
0 commit comments