All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/libmdbx: bump version to 0.12.10 "SEM"
@ 2024-03-14 16:11 Леонид Юрьев (Leonid Yuriev)
  2024-05-12 16:46 ` Yann E. MORIN
  2024-06-08 11:22 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Леонид Юрьев (Leonid Yuriev) @ 2024-03-14 16:11 UTC (permalink / raw)
  To: buildroot
  Cc: Леонид Юрьев (Leonid Yuriev)

This is bugfix release of stable libmdbx branch, in memory of the Hero
of Russia Guard Major Dmitry Semenov with the call sign "SEM".

It is reasonable to backport this patch to all applicable releases/branches of Buildroot.

The most significant fixes since v0.12.8 (previous version pinned to buildroot):

 - Fixed an major bug inherited from LMDB (Lightning Memory-Mappe Database)
   that causes database corruption during use the MDBX_DUPFIXED mode.
   In LMDB, the problem has existed for more than 10 years and is still
   present (as well as more than a dozen other bug and shortcomings
   fixed in libmdbx).

 - Fixed of a false error MDBX_CORRUPTED (-30796) in the scenario of
   working in the mode MDBX_DUPFIXED with odd length of multi-values.

 - Fixed a bug in adjusting the cursors in the case splitting a page by
   adding a new page on the left.

 - Troubleshooting an error when opening a database on a read-only file system.

 - A set of C++ API improvements:

    - added the mdbx::cursor::estimation_result type, and the behavior
      of methods cursor::estimate() is unified with cursor::move();

    - to prevent unnoticeable incorrect use of the API, for initializing
      slices returned by reference the slice::invalid() is used, instead of
      empty slices;

    - added additional C++ conversion operators to C API types;

    - types buffer::move_assign_alloc and buffer::copy_assign_alloc are public
      now for compatibility with older C++ standards and older STL versions;

    - added a new mdbx::default_buffer type;

    - added methods for slices and buffers hex_decode(), base64_decode(),
      base58_decode();

    - added type mdbx::comparator() and mdbx::default_comparator() functions;

    - added static methods buffer::hex(), buffer::base64(), buffer::base58();

    - added methods for transactions and cursors get/set_context();

    - added the cursor::clone() method;

    - implementation of base58 now is in accordance with the RFC draft.

The complete ChangeLog: https://gitflic.ru/project/erthink/libmdbx/blob?file=ChangeLog.md

Signed-off-by: Леонид Юрьев (Leonid Yuriev) <leo@yuriev.ru>
---
 package/libmdbx/libmdbx.hash | 2 +-
 package/libmdbx/libmdbx.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/libmdbx/libmdbx.hash b/package/libmdbx/libmdbx.hash
index 82cf28d6a9..1dbdef7c69 100644
--- a/package/libmdbx/libmdbx.hash
+++ b/package/libmdbx/libmdbx.hash
@@ -1,5 +1,5 @@
 # Hashes from: https://libmdbx.dqdkfa.ru/release/SHA256SUMS
-sha256  c78c56c53708bbfc519bf53ebf520d1f09d30ee6427a4bedf713316696e671d0  libmdbx-amalgamated-0.12.8.tar.xz
+sha256  4637e06768a9a8fc7577e6e458e045ad1f9a8baee74996a3c88bc0ad64cbcf67  libmdbx-amalgamated-0.12.10.tar.xz
 
 # Locally calculated
 sha256  310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569  LICENSE
diff --git a/package/libmdbx/libmdbx.mk b/package/libmdbx/libmdbx.mk
index 4cc6cbd08e..6e0571ff24 100644
--- a/package/libmdbx/libmdbx.mk
+++ b/package/libmdbx/libmdbx.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBMDBX_VERSION = 0.12.8
+LIBMDBX_VERSION = 0.12.10
 LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.xz
 LIBMDBX_SITE = https://libmdbx.dqdkfa.ru/release
 LIBMDBX_SUPPORTS_IN_SOURCE_BUILD = NO
-- 
2.43.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] package/libmdbx: bump version to 0.12.10 "SEM"
  2024-03-14 16:11 [Buildroot] [PATCH] package/libmdbx: bump version to 0.12.10 "SEM" Леонид Юрьев (Leonid Yuriev)
@ 2024-05-12 16:46 ` Yann E. MORIN
  2024-06-08 11:22 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2024-05-12 16:46 UTC (permalink / raw)
  To: Леонид Юрьев (Leonid Yuriev)
  Cc: buildroot

Леонид Юрьев, All,

Thanks for this version bump, I've applied to master, but see below for
a few comments...

On 2024-03-14 19:11 +0300, Леонид Юрьев (Leonid Yuriev) spake thusly:
> This is bugfix release of stable libmdbx branch, in memory of the Hero
> of Russia Guard Major Dmitry Semenov with the call sign "SEM".

Being a hero depends on whom one asks; someone's hero may very well be
someonelse's villain. In Buildroot, we'd like to stay away from any
politics or propaganda, whatever its purpose and origin, and stick to
technical facts and merit. So I dropped that reference from the commit
log (and also from the commit title).

> It is reasonable to backport this patch to all applicable releases/branches of Buildroot.

Thanks for the notice; it does not belong to a commit log, but to a
post-commit note, after the --- line.

> The most significant fixes since v0.12.8 (previous version pinned to buildroot):
> 
>  - Fixed an major bug inherited from LMDB (Lightning Memory-Mappe Database)
>    that causes database corruption during use the MDBX_DUPFIXED mode.
>    In LMDB, the problem has existed for more than 10 years and is still
>    present (as well as more than a dozen other bug and shortcomings
>    fixed in libmdbx).
> 
>  - Fixed of a false error MDBX_CORRUPTED (-30796) in the scenario of
>    working in the mode MDBX_DUPFIXED with odd length of multi-values.
> 
>  - Fixed a bug in adjusting the cursors in the case splitting a page by
>    adding a new page on the left.
> 
>  - Troubleshooting an error when opening a database on a read-only file system.
> 
>  - A set of C++ API improvements:
> 
>     - added the mdbx::cursor::estimation_result type, and the behavior
>       of methods cursor::estimate() is unified with cursor::move();
> 
>     - to prevent unnoticeable incorrect use of the API, for initializing
>       slices returned by reference the slice::invalid() is used, instead of
>       empty slices;
> 
>     - added additional C++ conversion operators to C API types;
> 
>     - types buffer::move_assign_alloc and buffer::copy_assign_alloc are public
>       now for compatibility with older C++ standards and older STL versions;
> 
>     - added a new mdbx::default_buffer type;
> 
>     - added methods for slices and buffers hex_decode(), base64_decode(),
>       base58_decode();
> 
>     - added type mdbx::comparator() and mdbx::default_comparator() functions;
> 
>     - added static methods buffer::hex(), buffer::base64(), buffer::base58();
> 
>     - added methods for transactions and cursors get/set_context();
> 
>     - added the cursor::clone() method;
> 
>     - implementation of base58 now is in accordance with the RFC draft.

Thanks for the details, but it was IMHO a little bit too much, so I
scrubbed the C++ details. Interested parties will now to look at the
changelog, which you specify below.

Applied to master witht the above fixups, thanks.

Regards,
Yann E. MORIN.

> The complete ChangeLog: https://gitflic.ru/project/erthink/libmdbx/blob?file=ChangeLog.md
> 
> Signed-off-by: Леонид Юрьев (Leonid Yuriev) <leo@yuriev.ru>
> ---
>  package/libmdbx/libmdbx.hash | 2 +-
>  package/libmdbx/libmdbx.mk   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/libmdbx/libmdbx.hash b/package/libmdbx/libmdbx.hash
> index 82cf28d6a9..1dbdef7c69 100644
> --- a/package/libmdbx/libmdbx.hash
> +++ b/package/libmdbx/libmdbx.hash
> @@ -1,5 +1,5 @@
>  # Hashes from: https://libmdbx.dqdkfa.ru/release/SHA256SUMS
> -sha256  c78c56c53708bbfc519bf53ebf520d1f09d30ee6427a4bedf713316696e671d0  libmdbx-amalgamated-0.12.8.tar.xz
> +sha256  4637e06768a9a8fc7577e6e458e045ad1f9a8baee74996a3c88bc0ad64cbcf67  libmdbx-amalgamated-0.12.10.tar.xz
>  
>  # Locally calculated
>  sha256  310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569  LICENSE
> diff --git a/package/libmdbx/libmdbx.mk b/package/libmdbx/libmdbx.mk
> index 4cc6cbd08e..6e0571ff24 100644
> --- a/package/libmdbx/libmdbx.mk
> +++ b/package/libmdbx/libmdbx.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -LIBMDBX_VERSION = 0.12.8
> +LIBMDBX_VERSION = 0.12.10
>  LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.xz
>  LIBMDBX_SITE = https://libmdbx.dqdkfa.ru/release
>  LIBMDBX_SUPPORTS_IN_SOURCE_BUILD = NO
> -- 
> 2.43.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] package/libmdbx: bump version to 0.12.10 "SEM"
  2024-03-14 16:11 [Buildroot] [PATCH] package/libmdbx: bump version to 0.12.10 "SEM" Леонид Юрьев (Leonid Yuriev)
  2024-05-12 16:46 ` Yann E. MORIN
@ 2024-06-08 11:22 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-06-08 11:22 UTC (permalink / raw)
  To: Леонид Юрьев (Leonid Yuriev)
  Cc: buildroot

>>>>> "Леонид" == Леонид Юрьев (Leonid Yuriev) <leo@yuriev.ru> writes:

 > This is bugfix release of stable libmdbx branch, in memory of the Hero
 > of Russia Guard Major Dmitry Semenov with the call sign "SEM".

 > It is reasonable to backport this patch to all applicable releases/branches of Buildroot.

 > The most significant fixes since v0.12.8 (previous version pinned to buildroot):

 >  - Fixed an major bug inherited from LMDB (Lightning Memory-Mappe Database)
 >    that causes database corruption during use the MDBX_DUPFIXED mode.
 >    In LMDB, the problem has existed for more than 10 years and is still
 >    present (as well as more than a dozen other bug and shortcomings
 >    fixed in libmdbx).

 >  - Fixed of a false error MDBX_CORRUPTED (-30796) in the scenario of
 >    working in the mode MDBX_DUPFIXED with odd length of multi-values.

 >  - Fixed a bug in adjusting the cursors in the case splitting a page by
 >    adding a new page on the left.

 >  - Troubleshooting an error when opening a database on a read-only file system.

 >  - A set of C++ API improvements:

 >     - added the mdbx::cursor::estimation_result type, and the behavior
 >       of methods cursor::estimate() is unified with cursor::move();

 >     - to prevent unnoticeable incorrect use of the API, for initializing
 >       slices returned by reference the slice::invalid() is used, instead of
 >       empty slices;

 >     - added additional C++ conversion operators to C API types;

 >     - types buffer::move_assign_alloc and buffer::copy_assign_alloc are public
 >       now for compatibility with older C++ standards and older STL versions;

 >     - added a new mdbx::default_buffer type;

 >     - added methods for slices and buffers hex_decode(), base64_decode(),
 >       base58_decode();

 >     - added type mdbx::comparator() and mdbx::default_comparator() functions;

 >     - added static methods buffer::hex(), buffer::base64(), buffer::base58();

 >     - added methods for transactions and cursors get/set_context();

 >     - added the cursor::clone() method;

 >     - implementation of base58 now is in accordance with the RFC draft.

 > The complete ChangeLog: https://gitflic.ru/project/erthink/libmdbx/blob?file=ChangeLog.md

 > Signed-off-by: Леонид Юрьев (Leonid Yuriev) <leo@yuriev.ru>

Committed to 2024.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-08 11:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-14 16:11 [Buildroot] [PATCH] package/libmdbx: bump version to 0.12.10 "SEM" Леонид Юрьев (Leonid Yuriev)
2024-05-12 16:46 ` Yann E. MORIN
2024-06-08 11:22 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.