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

Improve metadata cursor message when partial record found

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Schema management
    • Labels:
      None

      In WT-3829 fixes were put in to make sure the create/drop of was atomic and walking with a metadata cursor skipped over any partial entries.

      Part of that fix was the addition of a message in schema_create_collapse:

      		if ((ret = c->search(c)) != 0)
      			WT_ERR_MSG(session, ret,
      			    "metadata information for source configuration"
      			    " \"%s\" not found",
      			    (const char *)buf->data);
      

      Coming in to that code, via a cursor->next/prev call resulting in that output will, in fact, return 0 to the user because next/prev will skip that entry. That is all fine.

      The problem is that the appearance of these messages in the log are confusing to both the user and support. We should consider either rewording the existing message or instead of always printing it, move it under wt_verbose perhaps.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: