From 08b12637a8ba9cab8b68a504904b8d04a76fcfec Mon Sep 17 00:00:00 2001 From: Nicolau Manubens Date: Sun, 30 Jun 2024 22:00:56 +0200 Subject: [PATCH] Fix in RadosStore in multipart mode and persist on write mode. --- src/fdb5/rados/RadosStore.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/fdb5/rados/RadosStore.cc b/src/fdb5/rados/RadosStore.cc index 82acdb3b0..8f86085a3 100644 --- a/src/fdb5/rados/RadosStore.cc +++ b/src/fdb5/rados/RadosStore.cc @@ -271,11 +271,10 @@ void RadosStore::flush() { #ifdef fdb5_HAVE_RADOS_STORE_MULTIPART - #ifdef fdb5_HAVE_RADOS_BACKENDS_PERSIST_ON_FLUSH + /// @note: needs to be called even if PERSIST_ON_FLUSH=OFF, as the + /// multipart handles need to persist the multipart attributes which + /// is performed in the multihandle flush. flushDataHandles(); - #else - // NOOP - #endif #else