Memory leak in __disagg_pick_up_checkpoint

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Checkpoints
    • Security Level: Public (Available to anyone on the web)
    • Storage Engines, Storage Engines - Persistence
    • 8,852.157
    • None
    • None

      There is a memory leak while picking up a checkpoint:

      ==165253==    at 0x48487A9: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==165253==    by 0x7AD67B9: __realloc_func (src/os_common/os_alloc.c:127)
      ==165253==    by 0x7AD6A2A: __wt_realloc_noclear (src/os_common/os_alloc.c:165)
      ==165253==    by 0x7B4590D: __wt_buf_grow_worker (src/support/scratch.c:55)
      ==165253==    by 0x7B46C86: __wt_buf_grow (src/include/buf_inline.h:24)
      ==165253==    by 0x7B46214: __wt_buf_init (src/include/buf_inline.h:57)
      ==165253==    by 0x7B46805: __wt_scr_alloc_func (src/support/scratch.c:340)
      ==165253==    by 0x7A28F31: __disagg_pick_up_checkpoint (src/conn/conn_layered.c:173)
      ==165253==    by 0x7A28D92: __disagg_pick_up_checkpoint_meta (src/conn/conn_layered.c:371)
      ==165253==    by 0x7A288A8: __wti_disagg_conn_config (src/conn/conn_layered.c:843)
      ==165253==    by 0x7A32261: __wti_conn_reconfig (src/conn/conn_reconfig.c:425)
      ==165253==    by 0x7A136A8: __conn_reconfigure (src/conn/conn_api.c:1472)
      

            Assignee:
            Unassigned
            Reporter:
            Peter Macko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: