Skip to content

Commit 08df64e

Browse files
Corruption recommendations (# (#49)
1 parent 641889c commit 08df64e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mdbx/error.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ const (
7676
// other values may still be produced.
7777
const minErrno, maxErrno C.int = C.MDBX_KEYEXIST, C.MDBX_LAST_ADDED_ERRCODE
7878

79-
const hardwareRecommendations = "Likely because hardware failure. Before creating issue please use tools like https://www.memtest86.com to test RAM and tools like https://www.smartmontools.org to test Disk. To handle hardware risks: use ECC RAM, use RAID of disks, do backups, test backups restore. If hardware checks passed - check FS settings - 'fsync' and 'flock' must be enabled. Otherwise - likely it's our bug - please create issue."
80-
const coredumpRecommendations = "Otherwise - likely it's our bug - please create issue." // with backtrace or coredump. To create coredump set compile option 'MDBX_FORCE_ASSERTIONS=1' and env variable 'GOTRACEBACK=crash'."
79+
const hardwareRecommendations = "Likely because hardware failure. Before creating issue please use tools like https://www.memtest86.com to test RAM and tools like https://www.smartmontools.org to test Disk. To handle hardware risks: use ECC RAM, use RAID of disks, do backups, test backups restore. If hardware checks passed - check FS settings - 'fsync' and 'flock' must be enabled. "
80+
const coredumpRecommendations = "Otherwise - please create issue in Application repo." // with backtrace or coredump. To create coredump set compile option 'MDBX_FORCE_ASSERTIONS=1' and env variable 'GOTRACEBACK=crash'."
8181
const recoveryRecommendations = "On default DURABLE mode, power outage can't cause this error. On other modes - power outage may break last transaction and mdbx_chk can recover db in this case, see '-t' and '-0|1|2' options."
8282

8383
func (e Errno) Error() string {

0 commit comments

Comments
 (0)