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

Restore constness to getInitialDataTimestamp

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: 4.4.0
    • Component/s: Replication
    • None
    • Fully Compatible

      In SERVER-47844 we added the non-const virtual method KVEngine::getInitialDataTimestamp. Strangely, its subclass WiredTigerKVEngine already had a const non-virtual method of the same name. In SERVER-48518 we removed the const non-virtual WiredTigerKVEngine::getInitialDataTimestamp, so it had only its non-const virtual override. Let's clean up after ourselves: getInitialDataTimestamp should be a const virtual method.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: