From 58729a2fbd4a2cd6b9cbe80be993149c2ee3b946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Thu, 20 Mar 2025 01:40:11 +0300 Subject: [PATCH] =?UTF-8?q?mdbx:=20=D0=BA=D0=BE=D1=80=D1=80=D0=B5=D0=BA?= =?UTF-8?q?=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=BA=D0=B0=20=D0=BE=D0=BF=D0=B8?= =?UTF-8?q?=D1=81=D0=B0=D0=BD=D0=B8=D1=8F=20`MDBX=5FMVCC=5FRETARDED`=20?= =?UTF-8?q?=D0=B8=20=D1=81=D0=BE=D0=BE=D1=82=D0=B2=D0=B5=D1=82=D1=81=D1=82?= =?UTF-8?q?=D0=B2=D1=83=D1=8E=D1=89=D0=B5=D0=B3=D0=BE=20=D1=81=D0=BE=D0=BE?= =?UTF-8?q?=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BE=D0=B1=20=D0=BE?= =?UTF-8?q?=D1=88=D0=B8=D0=B1=D0=BA=D0=B5=20(backport).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mdbx.h | 3 +-- src/api-misc.c | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/mdbx.h b/mdbx.h index cce6c6a5..0ae5921a 100644 --- a/mdbx.h +++ b/mdbx.h @@ -1972,8 +1972,7 @@ typedef enum MDBX_error { * recycling old MVCC snapshots. */ MDBX_OUSTED = -30411, - /** MVCC snapshot used by read transaction is outdated and could not be - * copied since corresponding meta-pages was overwritten. */ + /** MVCC snapshot used by parked transaction was bygone. */ MDBX_MVCC_RETARDED = -30410, /* The last of MDBX-added error codes */ diff --git a/src/api-misc.c b/src/api-misc.c index 7e54c51d..27e82a90 100644 --- a/src/api-misc.c +++ b/src/api-misc.c @@ -199,9 +199,7 @@ __cold const char *mdbx_liberr2str(int errnum) { return "MDBX_OUSTED: The parked read transaction was outed for the sake" " of recycling old MVCC snapshots"; case MDBX_MVCC_RETARDED: - return "MDBX_MVCC_RETARDED: MVCC snapshot used by read transaction" - " is outdated and could not be copied" - " since corresponding meta-pages was overwritten"; + return "MDBX_MVCC_RETARDED: MVCC snapshot used by parked transaction was bygone"; default: return nullptr; }