forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uniform lightning related errmessage text to lightning_error file. (#5)
- Loading branch information
1 parent
43d8be0
commit 09ca406
Showing
3 changed files
with
23 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package lightning | ||
|
||
|
||
const ( | ||
// Error message | ||
LERR_ALLOC_MEM_FAILED string = "Lightning: Alloc memory failed." | ||
LERR_OUT_OF_MAX_MEM string = "Lightning: Memory is used up for Lightning add index." | ||
LERR_NO_MEM_TYPE string = "Lightning: Unking structure for Lightning add index." | ||
LERR_CREATE_BACKEND_FAILED string = "Lightning: Build lightning backend failed, will use kernel index reorg method to backfill the index." | ||
LERR_CREATE_ENGINE_FAILED string = "Lightning: Build lightning engine failed, will use kernel index reorg method to backfill the index." | ||
LERR_CREATE_CONTEX_FAILED string = "Lightning: Build lightning worker context failed, will use kernel index reorg method to backfill the index." | ||
LERR_GET_ENGINE_FAILED string = "Lightning: Use key get engininfo failed." | ||
LERR_GET_STORAGE_QUOTA string = "Lightning: Get storage quota err:" | ||
|
||
// Warning message | ||
LWAR_ENV_INIT_FAILD string = "Lightning: initialize environment failed" | ||
|
||
// Info message | ||
LInfo_ENV_INIT_SUCC string = "Lightning: Init global lightning backend environment finished." | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters