Skip to content

Commit 3871924

Browse files
committed
crimson/os/seastore/../btree_omap_manager: workaround log failure
See https://tracker.ceph.com/issues/71524 Signed-off-by: Yingxin Cheng <[email protected]>
1 parent b47a9e5 commit 3871924

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/crimson/os/seastore/omap_manager/btree/btree_omap_manager.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,10 @@ BtreeOMapManager::omap_set_key(
171171
const ceph::bufferlist &value)
172172
{
173173
LOG_PREFIX(BtreeOMapManager::omap_set_key);
174-
DEBUGT("{} -> {}", t, key, value);
174+
DEBUGT("{} -> 0x{:x} value", t, key, value.length());
175+
// #FIXME: heap buffer overflow during logging if value is long (e.g. 1020B)
176+
// https://tracker.ceph.com/issues/71524
177+
// DEBUGT("{} -> {}", t, key, value);
175178
return get_omap_root(
176179
get_omap_context(t, omap_root),
177180
omap_root

0 commit comments

Comments
 (0)