Can't set expire_after_seconds, drop_dups, or bucket_size index options

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 5.0.1
    • Affects Version/s: 5.0.0
    • Component/s: None
    • Environment:
      - MongoDB 3.0.6
      - Mongoid 5.0.0
      - Mongo Ruby driver 2.1.1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the above version combination fo Mongoid and the Ruby driver, there is a mismatch between the mapping of index option keys so that expire_after_seconds, drop_dups, and bucket_size are silently ignored (i.e. not actually sent to the database).

      This is fixed in https://github.com/mongodb/mongoid/pull/4168.

              Assignee:
              Emily Stolfo (Inactive)
              Reporter:
              Niels Ganser
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: