()
| 100 | } |
| 101 | |
| 102 | func (t *BaseTask) DeepCopyWithNewUUID() Task { |
| 103 | newTask := t.deepCopy() |
| 104 | newTask.Id = uuid.Must(uuid.NewV4()).String() |
| 105 | newTask.LogLabels[pkg.LogKeyTaskDotID] = newTask.Id |
| 106 | return newTask |
| 107 | } |
| 108 | |
| 109 | func (t *BaseTask) GetCompactionID() string { |
| 110 | return t.compactionID |