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

Use the WT_RET_MSG macros in the block manager when returning EINVAL

    • Storage Engines
    • 2
    • Nick - 2024-04-30

      keith.smith@mongodb.com said:

      Most of the places the block manager code returns EINVAL are via WT_RET_MSG. And we don’t see the corresponding block manager messages in the log; so those aren’t the paths that happened here. The two places where we simply return EINVAL are:

      • __wt_block_write_size()  — Are we trying to write a block larger than 4GB.
      • __wt_block_addr_invalid()  — Do we have a block address that is past the end of the file

      This ticket should update those two places with the right _MSG macros so we know when we return EINVAL from the block manager.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: