@@ -185,7 +185,7 @@ else if (dispatchRequest.isSuccess() && size == 0) {
185
185
index ++;
186
186
if (index >= mappedFiles .size ()) {
187
187
// Current branch can not happen
188
- log .info ("recover last 3 physics file over, last maped file " + mappedFile .getFileName ());
188
+ log .info ("recover last 3 physics file over, last mapped file " + mappedFile .getFileName ());
189
189
break ;
190
190
} else {
191
191
mappedFile = mappedFiles .get (index );
@@ -403,7 +403,7 @@ public void recoverAbnormally() {
403
403
for (; index >= 0 ; index --) {
404
404
mappedFile = mappedFiles .get (index );
405
405
if (this .isMappedFileMatchedRecover (mappedFile )) {
406
- log .info ("recover from this maped file " + mappedFile .getFileName ());
406
+ log .info ("recover from this mapped file " + mappedFile .getFileName ());
407
407
break ;
408
408
}
409
409
}
@@ -445,7 +445,7 @@ else if (size == 0) {
445
445
if (index >= mappedFiles .size ()) {
446
446
// The current branch under normal circumstances should
447
447
// not happen
448
- log .info ("recover physics file over, last maped file " + mappedFile .getFileName ());
448
+ log .info ("recover physics file over, last mapped file " + mappedFile .getFileName ());
449
449
break ;
450
450
} else {
451
451
mappedFile = mappedFiles .get (index );
@@ -571,7 +571,7 @@ public PutMessageResult putMessage(final MessageExtBrokerInner msg) {
571
571
mappedFile = this .mappedFileQueue .getLastMappedFile (0 ); // Mark: NewFile may be cause noise
572
572
}
573
573
if (null == mappedFile ) {
574
- log .error ("create maped file1 error, topic: " + msg .getTopic () + " clientAddr: " + msg .getBornHostString ());
574
+ log .error ("create mapped file1 error, topic: " + msg .getTopic () + " clientAddr: " + msg .getBornHostString ());
575
575
beginTimeInLock = 0 ;
576
576
return new PutMessageResult (PutMessageStatus .CREATE_MAPEDFILE_FAILED , null );
577
577
}
@@ -586,7 +586,7 @@ public PutMessageResult putMessage(final MessageExtBrokerInner msg) {
586
586
mappedFile = this .mappedFileQueue .getLastMappedFile (0 );
587
587
if (null == mappedFile ) {
588
588
// XXX: warn and notify me
589
- log .error ("create maped file2 error, topic: " + msg .getTopic () + " clientAddr: " + msg .getBornHostString ());
589
+ log .error ("create mapped file2 error, topic: " + msg .getTopic () + " clientAddr: " + msg .getBornHostString ());
590
590
beginTimeInLock = 0 ;
591
591
return new PutMessageResult (PutMessageStatus .CREATE_MAPEDFILE_FAILED , result );
592
592
}
@@ -721,7 +721,7 @@ public PutMessageResult putMessages(final MessageExtBatch messageExtBatch) {
721
721
mappedFile = this .mappedFileQueue .getLastMappedFile (0 ); // Mark: NewFile may be cause noise
722
722
}
723
723
if (null == mappedFile ) {
724
- log .error ("Create maped file1 error, topic: {} clientAddr: {}" , messageExtBatch .getTopic (), messageExtBatch .getBornHostString ());
724
+ log .error ("Create mapped file1 error, topic: {} clientAddr: {}" , messageExtBatch .getTopic (), messageExtBatch .getBornHostString ());
725
725
beginTimeInLock = 0 ;
726
726
return new PutMessageResult (PutMessageStatus .CREATE_MAPEDFILE_FAILED , null );
727
727
}
@@ -736,7 +736,7 @@ public PutMessageResult putMessages(final MessageExtBatch messageExtBatch) {
736
736
mappedFile = this .mappedFileQueue .getLastMappedFile (0 );
737
737
if (null == mappedFile ) {
738
738
// XXX: warn and notify me
739
- log .error ("Create maped file2 error, topic: {} clientAddr: {}" , messageExtBatch .getTopic (), messageExtBatch .getBornHostString ());
739
+ log .error ("Create mapped file2 error, topic: {} clientAddr: {}" , messageExtBatch .getTopic (), messageExtBatch .getBornHostString ());
740
740
beginTimeInLock = 0 ;
741
741
return new PutMessageResult (PutMessageStatus .CREATE_MAPEDFILE_FAILED , result );
742
742
}
0 commit comments