Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4162

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

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

      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 Emily Stolfo
            Reporter:
            niels@herimedia.com Niels Ganser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: