Tanya-W commented on code in PR #19063:
URL: https://github.com/apache/doris/pull/19063#discussion_r1193610971
##########
fe/fe-core/src/main/java/org/apache/doris/task/AlterInvertedIndexTask.java:
##########
@@ -35,68 +37,59 @@
* The new replica can be a rollup replica, or a shadow replica of schema
change.
*/
public class AlterInvertedIndexTask extends AgentTask {
+ private static final Logger LOG =
LogManager.getLogger(AlterInvertedIndexTask.class);
private long tabletId;
- private long version;
- private long jobId;
- private AlterJobV2.JobType jobType;
private int schemaHash;
- private boolean isDropOp = false;
private List<Index> alterInvertedIndexes;
- List<Index> indexes;
private List<Column> schemaColumns;
- private long expiration;
+ private List<Index> existIndexes;
+ private boolean isDropOp = false;
public AlterInvertedIndexTask(long backendId, long dbId, long tableId,
- long partitionId, long indexId, long version,
- long tabletId, int schemaHash,
- long jobId, AlterJobV2.JobType jobType,
- boolean isDropOp, List<Index> alterInvertedIndexes,
- List<Index> indexes, List<Column> schemaColumns, long expiration) {
- super(null, backendId, TTaskType.ALTER_INVERTED_INDEX, dbId, tableId,
partitionId, indexId, tabletId);
+ long partitionId, long indexId, long tabletId, int schemaHash,
+ List<Index> existIndexes, List<Index> alterInvertedIndexes,
+ List<Column> schemaColumns, boolean isDropOp, long taskSignature) {
+ super(null, backendId, TTaskType.ALTER_INVERTED_INDEX, dbId, tableId,
+ partitionId, indexId, tabletId, taskSignature);
this.tabletId = tabletId;
- this.version = version;
- this.jobId = jobId;
- this.jobType = jobType;
this.schemaHash = schemaHash;
- this.isDropOp = isDropOp;
+ this.existIndexes = existIndexes;
this.alterInvertedIndexes = alterInvertedIndexes;
- this.indexes = indexes;
this.schemaColumns = schemaColumns;
- this.expiration = expiration;
+ this.isDropOp = isDropOp;
}
public long getTabletId() {
return tabletId;
}
- public long getVersion() {
- return version;
- }
-
- public long getJobId() {
- return jobId;
- }
-
public int getSchemaHash() {
return schemaHash;
}
- public AlterJobV2.JobType getJobType() {
- return jobType;
- }
-
public List<Index> getAlterInvertedIndexes() {
return alterInvertedIndexes;
}
+ public String toString() {
+ StringBuilder sb = new StringBuilder("isDropOp ");
Review Comment:
updated
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]