Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13619

session->alter needs to call API enter/exit macros immediately

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: APIs
    • Storage Engines
    • 3
    • StorEng - 2024-11-12, StorEng - 2024-11-26

      In WT-7902 session_api.c:session_alter was modified to perform a system-wide checkpoint if the alter operation returned EBUSY and then try again. That change moved most of the original alter code into session_alter_internal.

      The API macro calls moved with it and that is a bug. The API macro calls SESSION_API_CONF, API_RET_NOTFOUND_MAP should be at the top-level in session_alter.

      This has a real impact because if the checkpoint/retry case is taken then the checkpoint is done without any of the session name information. Then CHECKPOINT_PROGRESS messages are ambiguous. The message and session contain the default session name and then there's no way to know what API the message is coming from.

            Assignee:
            zunyi.liu@mongodb.com Zunyi Liu
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: