- 13 Feb, 2015 2 commits
-
-
Handle AutoReconnect errors in find_one.
Calen Pennington committed -
These aren't currently caught because the `collection.find_one` method is called, and then it calls `find` without going through the proxy object.
Calen Pennington committed
-
- 31 Oct, 2014 4 commits
-
-
Added tests for autoretry_read and MongoProxy.
Usman Khalid committed -
Usman Khalid committed
-
Replaces Executable class with autoretry_read decorator.
Usman Khalid committed -
The decorator can be used to wrap high-level methods so that exceptions happening when iterating the cursor can be handled with the same logic. Also only specific read methods are retried.
Usman Khalid committed
-
- 01 Apr, 2014 2 commits
-
-
Gustav Arngården committed
-
Update packaging
Gustav Arngården committed
-
- 27 Mar, 2014 2 commits
-
-
David Lindquist committed
-
David Lindquist committed
-
- 08 Jan, 2014 1 commit
-
-
Proxy executable methods from Database, ReplicaSetConnection
Gustav Arngården committed
-
- 30 Dec, 2013 1 commit
-
-
and mongo client classes
Richard Frank committed
-
- 03 Dec, 2013 1 commit
-
-
Richard Frank committed
-
- 05 Nov, 2013 1 commit
-
-
Set logger and wait time when creating nested MongoProxy object
Gustav Arngården committed
-
- 04 Nov, 2013 1 commit
-
-
Jonathan Kamens committed
-
- 09 Aug, 2013 2 commits
-
-
Added Apache 2.0 license header
Gustav Arngården committed -
Added Apache 2.0 license header
Gustav Arngården committed
-
- 04 Jul, 2013 2 commits
-
-
Gustav Arngården committed
-
Allow proxying of collections accessed by attribute Attempt to reconnect for 60 seconds; make it configurable log delay time
Gustav Arngården committed
-
- 02 Jul, 2013 1 commit
-
-
The MongoDB documentation says it can take up to 60 seconds for a new primary to be elected when replicaset failover occurs (http://docs.mongodb.org/manual/faq/replica-sets/#how-long-does-replica-set-failover-take). Therefore, we need to wait up to 60 seconds for failover, not 16 seconds. Make the wait interval configurable by adding an optional wait_time parameter to the MongoProxy initializer. When logging attempts to auto-reconnect, include the elapsed time in the log message.
Jonathan Kamens committed
-
- 27 Jun, 2013 1 commit
-
-
not just by __getitem__.
Richard Frank committed
-
- 13 Jun, 2013 3 commits
-
-
Gustav Arngården committed
-
Gustav Arngården committed
-
Injection logger
Gustav Arngården committed
-
- 10 Jun, 2013 3 commits
-
-
Michael Cetrulo committed
-
Michael Cetrulo committed
-
Michael Cetrulo committed
-
- 25 May, 2013 2 commits
-
-
Gustav Arngården committed
-
setup.py, robustness, user-friendliness
Gustav Arngården committed
-
- 23 May, 2013 6 commits
-
-
Jonathan Kamens committed
-
Jonathan Kamens committed
-
Only wrap things that are callable, so that, e.g., properties (like "db.name") will continue to work. Also, __getitem__ should fetch item from self.conn, and __getattr__ should fetch attr from self.conn, and they shouldn't be mixed up.
Jonathan Kamens committed -
Jonathan Kamens committed
-
Jonathan Kamens committed
-
Jonathan Kamens committed
-
- 29 Apr, 2013 2 commits
-
-
Gustav Arngården committed
-
Gustav Arngården committed
-
- 28 Apr, 2013 2 commits
-
-
Gustav Arngården committed
-
Gustav Arngården committed
-