Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
add dassert
Browse files Browse the repository at this point in the history
  • Loading branch information
foreverneverer committed May 8, 2021
1 parent 43f1ddb commit bb86d7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pegasus/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ type ScannerOptions struct {
const (
batchScanning = 0
batchScanFinished = -1 // Scanner's batch is finished, clean up it and switch to the status batchEmpty
batchEmpty = -2
batchRpcError = -3
batchUnknownError = -4
batchEmpty = -2 // scan context has been removed
batchRpcError = -3 // rpc error, include ERR_SESSION_RESET,ERR_OBJECT_NOT_FOUND,ERR_INVALID_STATE, ERR_TIMEOUT
batchUnknownError = -4 // rpc succeed, but operation encounter some unknown error in server side
)

// Scanner defines the interface of client-side scanning.
Expand Down

0 comments on commit bb86d7e

Please sign in to comment.