-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load: convert to insert tablet on region replica set changes #14717
base: master
Are you sure you want to change the base?
Load: convert to insert tablet on region replica set changes #14717
Conversation
@@ -273,6 +272,7 @@ public void start() { | |||
final long startTime = System.nanoTime(); | |||
try { | |||
// if failed to load some TsFiles, then try to convert the TsFiles to Tablets | |||
LOGGER.info("Load TsFile failed, will try to convert to tablets and insert."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
which tsfile
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/StorageEngine.java
Show resolved
Hide resolved
String.format( | ||
"No load TsFile uuid %s recorded for execute load command %s.", | ||
uuid, loadCommand)); | ||
if (!loadTsFileManager.loadAll(uuid, isGeneratedByPipe, progressIndex)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert
.../iotdb/db/storageengine/load/converter/LoadTreeStatementDataTypeConvertExecutionVisitor.java
Show resolved
Hide resolved
final long startTime = System.nanoTime(); | ||
try { | ||
// if failed to load some TsFiles, then try to convert the TsFiles to Tablets | ||
LOGGER.info( | ||
"Load TsFile failed, will try to convert to tablets and insert. Failed TsFiles: [{}]", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Load TsFile failed, will try to convert to tablets and insert. Failed TsFiles: [{}]", | |
"Load TsFile(s) failed, will try to convert to tablets and insert. Failed TsFiles: {}", |
pieceNode.getTsFile(), | ||
dataRegionId, | ||
e); | ||
status.setCode(TSStatusCode.INTERNAL_SERVER_ERROR.getStatusCode()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
status.setCode(TSStatusCode.INTERNAL_SERVER_ERROR.getStatusCode()); | |
status.setCode(TSStatusCode.LOAD_FILE_ERROR.getStatusCode()); |
No description provided.