Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Conversation

@phaylon
Copy link
Contributor

@phaylon phaylon commented Apr 19, 2018

Add maxTimeMS option to IndexView's create_one, create_many, drop_one and drop_all.

API Changes:

  • Last value of create_many is now an optional hash reference with global options.
  • create_one received an additional maxTimeMS option.
  • drop_one and drop_all now accept an options hash reference with maxTimeMS.

phaylon added 3 commits April 19, 2018 21:25
… and drop_all.

API Changes:
* Last value of create_many is now an optional hash reference with global options.
* create_one received an additional maxTimeMS option.
* drop_one and drop_all now accept an options hash reference with maxTimeMS.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.005%) to 79.829% when pulling 658436e on shadow-dot-cat:phaylon/PERL-782 into 9360ce5 on mongodb:master.

Copy link
Contributor

@xdg xdg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please document the maxTimeMS option for create_one.
Please move the tests into t/max_time_ms.t -- all those failpoint tests can't be run in parallel so the should be pulled into t/max_time_ms.t which is forced to serialize. (See t/testrules.yml)
Otherwise, looks good! Thanks!

@phaylon
Copy link
Contributor Author

phaylon commented May 3, 2018

Fixed and rebased in PR 157.

@phaylon phaylon closed this May 3, 2018
@TBSliver TBSliver deleted the phaylon/PERL-782 branch June 13, 2019 14:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants