mirror of
https://github.com/talent-plan/tinykv.git
synced 2024-12-26 12:50:11 +08:00
fix region task comment
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
This commit is contained in:
parent
a4998e0309
commit
5691c2c3bc
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user