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

Change places where we compare Timestamps to comparing OpTimes instead

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Repl 2017-01-23

    Description

      Almost everywhere that compares Timestamps should probably be comparing OpTimes instead. Even when it's technically correct to compare timestamps, so long as it's also correct to compare optimes and doing so won't break conversions between pv0 and pv1, we should always default to comparing optimes so that every place that compares Timestamps is viewed as suspicious.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: