MCPcopy
hub / github.com/pingcap/tidb / Cleanup

Method Cleanup

pkg/kv/kv.go:217–217  ·  view source on GitHub ↗

Cleanup cleanup the resources referenced by the StagingHandle. If the changes are not published by `Release`, they will be discarded.

(StagingHandle)

Source from the content-addressed store, hash-verified

215 // Cleanup cleanup the resources referenced by the StagingHandle.
216 // If the changes are not published by `Release`, they will be discarded.
217 Cleanup(StagingHandle)
218 // InspectStage used to inspect the value updates in the given stage.
219 InspectStage(StagingHandle, func(Key, KeyFlags, []byte))
220

Callers 15

TestBatchSplitFunction · 0.65
TestSplitScatterFunction · 0.65
TestSplitScatterRawKVFunction · 0.65
TestPaginateScanRegionFunction · 0.65
tempBackupDirFunction · 0.65
createS3SuiteFunction · 0.65
TestTheSessionIsoationFunction · 0.65
createMockClusterFunction · 0.65
createBackupSuiteFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestBatchSplitFunction · 0.52
TestSplitScatterFunction · 0.52
TestSplitScatterRawKVFunction · 0.52
TestPaginateScanRegionFunction · 0.52
tempBackupDirFunction · 0.52
createS3SuiteFunction · 0.52
TestTheSessionIsoationFunction · 0.52
createMockClusterFunction · 0.52
createBackupSuiteFunction · 0.52