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

Test upgrade/downgrade behaviors for unlimited index key length

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.3
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-08-27
    • 13

      Things to test include:

      1. MongoDB 4.2 (FCV 4.0) and MongoDB 4.0 allow reading and deleting long (unique) index keys but does not allow inserting or updating long (unique) index keys.
      2. MongoDB 4.2 (FCV 4.2) allows inserting, reading, deleting and updating long (unique) index keys.
      3. MongoDB 4.0 throws warning on startup when detecting the new feature tracker bit.
      4. MongoDB 4.2 could successfully validate index consistency after reindex() if 4.0 intentionally missed out long index keys by setting 'failIndexKeyTooLong' to false.
      5. MongoDB 4.0 could successfully validate index consistency after drop() if 4.2 inserted long index keys (with < 127 bytes typebits).

            Assignee:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Reporter:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: