|
lalford, apologies for the delay in getting back to you. The work on SERVER-17984 makes the changes you suggested in your pull request unnecessary, but the good news is that SERVER-17984 adds very detailed error messages that I think should meet your needs: the error message went from
key for ttl index can only have 1 field
|
to
key for ttl index can only have 1 field, skipping ttl job for: { v: 1, key: { y: 1.0 }, name: "y_1", ns: "test.foo", expireAfterSeconds: 10.0 }
|
SERVER-17984 also adds this detailed information to the logs in a few other cases – see 3a8bcdfb if interested in more details.
Cheers,
Ramón.
|