Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47010

Fix ttl_sharded.js logging

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2020-04-20, Sharding 2020-05-04, Sharding 2020-05-18, Sharding 2020-06-01, Sharding 2020-06-15, Sharding 2020-06-29
    • Linked BF Score:
      35

      Description

      The assert.soon tries to dump the contents of the collection, but string message is constructed when the assert.soon is called, not when it timed out. It should be using a function call back to return a string instead:

      https://github.com/mongodb/mongo/blob/r4.3.2/jstests/noPassthroughWithMongod/ttl_sharded.js#L46

        Attachments

          Activity

            People

            Assignee:
            esha.maharishi Esha Maharishi
            Reporter:
            renctan Randolph Tan
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: