@@ -25,67 +25,67 @@ public final class DataNodePipeMessages {
2525
2626 public static final String CLOSING_DELETION_RESOURCE_MANAGER_FOR =
2727 "Closing deletion resource manager for {}..." ;
28- public static final String DAL_THREAD_STILL_DOESN_T_EXIT_AFTER =
29- "DAL Thread {} still doesn't exit after 30s" ;
3028 public static final String DELETIONMANAGER_CURRENT_DAL_DIR_IS_DELETED_SUCCESSFULLY =
3129 "DeletionManager-{}: current DAL dir {} is deleted successfully" ;
3230 public static final String DELETIONMANAGER_CURRENT_DAL_DIR_IS_NOT_INITIALIZED =
3331 "DeletionManager-{}: current DAL dir {} is not initialized, no need to delete." ;
3432 public static final String DELETIONMANAGER_CURRENT_WAITING_IS_INTERRUPTED_MAY_BECAUSE =
35- "DeletionManager-{}: current waiting is interrupted. May because current application is "
36- + "down. " ;
33+ "DeletionManager-{}: waiting was interrupted, possibly because the application is "
34+ + "shutting down." ;
3735 public static final String DELETIONMANAGER_DELETE_DELETION_FILE_IN_DIR =
38- "DeletionManager-{} delete deletion file in {} dir.. ." ;
36+ "DeletionManager-{}: deleted deletion file {} ." ;
3937 public static final String DELETIONMANAGER_FAILED_TO_DELETE_FILE_IN_DIR =
40- "DeletionManager-{} failed to delete file in {} dir , please manually check!" ;
38+ "DeletionManager-{}: failed to delete files under {}, please check manually !" ;
4139 public static final String DELETIONRESOURCE_HAS_BEEN_RELEASED_TRIGGER_A_REMOVE =
42- "DeletionResource {} has been released, trigger a remove of DAL.. ." ;
40+ "DeletionResource {} has been released; triggering DAL cleanup ." ;
4341 public static final String DELETION_PERSIST_CANNOT_CREATE_FILE_PLEASE_CHECK =
44- "Deletion persist: Cannot create file {}, please check your file system manually." ;
42+ "Deletion persist: failed to create file {}; please check the file system manually." ;
4543 public static final String DELETION_PERSIST_CANNOT_WRITE_TO_MAY_CAUSE =
46- "Deletion persist: Cannot write to {}, may cause data inconsistency ." ;
44+ "Deletion persist: failed to write to {}; data may become inconsistent ." ;
4745 public static final String DELETION_PERSIST_CURRENT_BATCH_FSYNC_DUE_TO =
48- "Deletion persist-{}: current batch fsync due to timeout" ;
46+ "Deletion persist-{}: fsync current batch due to timeout" ;
4947 public static final String DELETION_PERSIST_CURRENT_FILE_HAS_BEEN_CLOSED =
5048 "Deletion persist-{}: current file has been closed" ;
5149 public static final String DELETION_PERSIST_SERIALIZE_DELETION_RESOURCE =
52- "Deletion persist-{}: serialize deletion resource {}" ;
50+ "Deletion persist-{}: serializing deletion resource {}" ;
5351 public static final String DELETION_PERSIST_STARTING_TO_PERSIST_CURRENT_WRITING =
54- "Deletion persist-{}: starting to persist, current writing : {}" ;
52+ "Deletion persist-{}: starting to persist, current file : {}" ;
5553 public static final String DELETION_PERSIST_SWITCHING_TO_A_NEW_FILE =
56- "Deletion persist-{}: switching to a new file, current writing : {}" ;
54+ "Deletion persist-{}: switched to a new file, current file : {}" ;
5755 public static final String DELETION_RESOURCE_MANAGER_FOR_HAS_BEEN_SUCCESSFULLY =
5856 "Deletion resource manager for {} has been successfully closed!" ;
5957 public static final String DETECT_FILE_CORRUPTED_WHEN_RECOVER_DAL_DISCARD =
60- "Detect file corrupted when recover DAL-{}, discard all subsequent DALs.. ." ;
58+ "Detected a corrupted file while recovering DAL-{}; discarding all subsequent DALs." ;
6159 public static final String FAILED_TO_INITIALIZE_DELETIONRESOURCEMANAGER =
6260 "Failed to initialize DeletionResourceManager" ;
6361 public static final String FAILED_TO_READ_DELETION_FILE_MAY_BECAUSE =
64- "Failed to read deletion file {}, possibly because this file was corrupted while being written." ;
62+ "Failed to read deletion file {}; it may have been corrupted while being written." ;
6563 public static final String FAILED_TO_RECOVER_DELETIONRESOURCEMANAGER =
6664 "Failed to recover DeletionResourceManager" ;
6765 public static final String FAIL_TO_ALLOCATE_DELETIONBUFFER_GROUP_S_BUFFER =
68- "Fail to allocate deletionBuffer-group-{}'s buffer because out of memory ." ;
66+ "Failed to allocate deletionBuffer-group-{}'s buffer because memory is insufficient ." ;
6967 public static final String FAIL_TO_CLOSE_CURRENT_LOGGING_FILE_WHEN =
70- "Fail to close current logging file when closing" ;
68+ "Failed to close current logging file while closing" ;
7169 public static final String FAIL_TO_REGISTER_DELETIONRESOURCE_INTO_DELETIONBUFFER_BECAUSE =
72- "Fail to register DeletionResource into deletionBuffer-{} because this buffer is closed." ;
70+ "Failed to register DeletionResource into deletionBuffer-{} because the buffer is closed." ;
7371 public static final String INTERRUPTED_WHEN_WAITING_FOR_ALL_DELETIONS_FLUSHED =
74- "Interrupted when waiting for all deletions flushed." ;
72+ "Interrupted while waiting for all deletions to be flushed." ;
73+ public static final String INTERRUPTED_WHILE_WAITING_FOR_DAL_THREAD_TO_EXIT =
74+ "Interrupted while waiting for the DAL thread of dataRegion {} to exit." ;
7575 public static final String INTERRUPTED_WHEN_WAITING_FOR_RESULT =
76- "Interrupted when waiting for result." ;
76+ "Interrupted while waiting for result." ;
7777 public static final String INTERRUPTED_WHEN_WAITING_FOR_TAKING_DELETIONRESOURCE_FROM =
78- "Interrupted when waiting for taking DeletionResource from blocking queue to serialize ." ;
79- public static final String INTERRUPTED_WHEN_WAITING_FOR_TAKING_WALENTRY_FROM =
80- "Interrupted when waiting for taking WALEntry from blocking queue to serialize ." ;
78+ "Interrupted while taking a DeletionResource from the blocking queue for serialization ." ;
79+ public static final String INTERRUPTED_WHEN_WAITING_FOR_POLLING_DELETIONRESOURCE_FROM =
80+ "Interrupted while polling a DeletionResource from the blocking queue for serialization ." ;
8181 public static final String INVALID_DELETION_PROGRESS_INDEX = "Invalid deletion progress index: " ;
8282 public static final String PERSISTTHREAD_DID_NOT_TERMINATE_WITHIN_S =
83- "persistThread did not terminate within {}s" ;
83+ "Persist thread did not terminate within {}s" ;
8484 public static final String READ_DELETION_FILE_MAGIC_VERSION =
85- "Read deletion file- {} magic version: {}" ;
85+ "Read deletion file {} magic version: {}" ;
8686 public static final String READ_DELETION_FROM_FILE = "Read deletion: {} from file {}" ;
8787 public static final String UNABLE_TO_CREATE_IOTCONSENSUSV2_DELETION_DIR_AT =
88- "Unable to create iotConsensusV2 deletion dir at {}" ;
88+ "Unable to create IoTConsensusV2 deletion directory at {}" ;
8989
9090 // ===================== AGENT =====================
9191
0 commit comments