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

show collecions timeout , bacause lastSeenConfigServerOpTime term in mongos is bigger than config server term

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL

    Description

      mongo version: 4.0.3

      how it happed?
      we can hook file write for config server,  oplog will not be written to the file.

      1. config server can raise term for election
      2. shard server exchange information with config server  and raise lastSeenConfigServerOpTime in memory
      3. mongos  exchange information with shard and raise lastSeenConfigServerOpTime in memory
      4. restart config server and unregister hook ,  the term for config server lesser than lastSeenConfigServerOpTime

      Attachments

        1. image-2022-06-01-18-54-49-851.png
          image-2022-06-01-18-54-49-851.png
          109 kB
        2. image-2022-06-01-18-59-14-101.png
          image-2022-06-01-18-59-14-101.png
          130 kB
        3. image-2022-06-01-19-00-19-278.png
          image-2022-06-01-19-00-19-278.png
          63 kB

        Activity

          People

            chris.kelly@mongodb.com Chris Kelly
            likaipeng@bytedance.com kaipeng li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: