MDBX: Add recommendations to corruption error message #3337

This commit is contained in:
Alex Sharov 2022-01-24 10:35:10 +07:00 committed by GitHub
parent 9c1b5f8f0c
commit 80716628a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

4
go.mod
View File

@ -39,7 +39,7 @@ require (
github.com/json-iterator/go v1.1.12
github.com/julienschmidt/httprouter v1.3.0
github.com/kevinburke/go-bindata v3.21.0+incompatible
github.com/ledgerwatch/erigon-lib v0.0.0-20220122065358-51044b9df261
github.com/ledgerwatch/erigon-lib v0.0.0-20220124025303-e930c7eab198
github.com/ledgerwatch/log/v3 v3.4.0
github.com/ledgerwatch/secp256k1 v1.0.0
github.com/logrusorgru/aurora/v3 v3.0.0
@ -57,7 +57,7 @@ require (
github.com/tendermint/go-amino v0.14.1
github.com/tendermint/iavl v0.12.0
github.com/tendermint/tendermint v0.31.11
github.com/torquem-ch/mdbx-go v0.22.6
github.com/torquem-ch/mdbx-go v0.22.7
github.com/ugorji/go/codec v1.1.13
github.com/ugorji/go/codec/codecgen v1.1.13
github.com/urfave/cli v1.22.5

8
go.sum
View File

@ -634,8 +634,8 @@ github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758 h1:0D5M2HQSGD3P
github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k=
github.com/leanovate/gopter v0.2.9 h1:fQjYxZaynp97ozCzfOyOuAGOU4aU/z37zf/tOujFk7c=
github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8=
github.com/ledgerwatch/erigon-lib v0.0.0-20220122065358-51044b9df261 h1:3ZiZYjeXNTM4c3MRuD9iH8hC7LpWAX5LdipvfM3gAHo=
github.com/ledgerwatch/erigon-lib v0.0.0-20220122065358-51044b9df261/go.mod h1:U3uvygbCLT1SodSM8/p7Am1VFIEKkGzSYeE8PtjEWq0=
github.com/ledgerwatch/erigon-lib v0.0.0-20220124025303-e930c7eab198 h1:f0V/2+f85ON4OOioUWjC2wrIheNf2fPLONGQ35ayFCU=
github.com/ledgerwatch/erigon-lib v0.0.0-20220124025303-e930c7eab198/go.mod h1:kKssw3jA21RUsCq+abwZgHpaXOXU6wMzwkfKJRFgHn4=
github.com/ledgerwatch/log/v3 v3.4.0 h1:SEIOcv5a2zkG3PmoT5jeTU9m/0nEUv0BJS5bzsjwKCI=
github.com/ledgerwatch/log/v3 v3.4.0/go.mod h1:VXcz6Ssn6XEeU92dCMc39/g1F0OYAjw1Mt+dGP5DjXY=
github.com/ledgerwatch/secp256k1 v1.0.0 h1:Usvz87YoTG0uePIV8woOof5cQnLXGYa162rFf3YnwaQ=
@ -1005,8 +1005,8 @@ github.com/tklauser/go-sysconf v0.3.9/go.mod h1:11DU/5sG7UexIrp/O6g35hrWzu0JxlwQ
github.com/tklauser/numcpus v0.3.0 h1:ILuRUQBtssgnxw0XXIjKUC56fgnOrFoQQ/4+DeU2biQ=
github.com/tklauser/numcpus v0.3.0/go.mod h1:yFGUr7TUHQRAhyqBcEg0Ge34zDBAsIvJJcyE6boqnA8=
github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
github.com/torquem-ch/mdbx-go v0.22.6 h1:xtPd4xfB8HdU1pJCZEkLNwnrqwAoLe2/luMsVRuMhGQ=
github.com/torquem-ch/mdbx-go v0.22.6/go.mod h1:T2fsoJDVppxfAPTLd1svUgH1kpPmeXdPESmroSHcL1E=
github.com/torquem-ch/mdbx-go v0.22.7 h1:m3fy1xmtlVnXEcbcTPuw5KJ3TpX4lPswdKCxLGny8oI=
github.com/torquem-ch/mdbx-go v0.22.7/go.mod h1:T2fsoJDVppxfAPTLd1svUgH1kpPmeXdPESmroSHcL1E=
github.com/ttacon/chalk v0.0.0-20160626202418-22c06c80ed31/go.mod h1:onvgF043R+lC5RZ8IT9rBXDaEDnpnw/Cl+HFiw+v/7Q=
github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod h1:hzIxponao9Kjc7aWznkXaL4U4TWaDSs8zcsY4Ka08nM=
github.com/ugorji/go v1.1.13 h1:nB3O5kBSQGjEQAcfe1aLUYuxmXdFKmYgBZhY32rQb6Q=