fix region task comment

Signed-off-by: Connor1996 <zbk602423539@gmail.com>
This commit is contained in:
Connor1996 2020-04-23 12:04:21 +08:00 committed by Connor
parent a4998e0309
commit 5691c2c3bc

View File

@ -19,9 +19,9 @@ import (
)
// There're some tasks for region worker, such as:
// `TaskTypeRegionGen` which will cause the worker to generate a snapshot according to RegionId,
// `TaskTypeRegionApply` which will apply a snapshot to the region that id equals RegionId,
// `TaskTypeRegionDestroy` which will clean up the key range from StartKey to EndKey.
// `RegionTaskGen` which will cause the worker to generate a snapshot according to RegionId,
// `RegionTaskApply` which will apply a snapshot to the region that id equals RegionId,
// `RegionTaskDestroy` which will clean up the key range from StartKey to EndKey.
type RegionTaskGen struct {
RegionId uint64 // specify the region which the task is for.