Commit Graph

37 Commits

Author SHA1 Message Date
Bernie Hackett
c3394affe8 PYTHON-1604 - Stop testing reindex with mongos and MongoDB 4.1+ 2018-07-11 11:49:08 -07:00
Shane Harvey
98e77ba1d2 PYTHON-1483 Prohibit unack'ed writes with explicit sessions 2018-06-25 13:55:50 -05:00
Bernie Hackett
388339e187 PYTHON-1591 - Deprecate Collection.parallel_scan 2018-06-21 12:03:42 -07:00
Bernie Hackett
709b28467f PYTHON-1586 - Deprecate database_names and collection_names 2018-06-18 10:52:11 -07:00
Bernie Hackett
e6b0f3847d PYTHON-1581 - Deprecate Collection/Cursor count 2018-06-18 10:50:26 -07:00
Bernie Hackett
981e39281f PYTHON-1529 - No implicit sessions with parallel_scan 2018-06-01 18:32:44 -07:00
Bernie Hackett
5b9257644f PYTHON-1464 - Implement SCRAM-SHA-256 2018-03-06 17:54:40 -08:00
Shane Harvey
79a327b752 PYTHON-1474 Return cursor sessions as quickly as possible
Return implicit sessions to the pool as soon as the cursor is exhausted
instead of waiting for garbage collection.
2018-02-27 16:03:25 -08:00
Shane Harvey
0e6b425870 PYTHON-1475 Create shallow copy of session pool before iteration 2018-02-26 16:04:02 -08:00
Bernie Hackett
4fa72033dd PYTHON-1488 - Fix auth tests for MongoDB 3.7 2018-02-26 15:32:55 -08:00
Shane Harvey
2a05236f61 PYTHON-1332 Only gossip cluster time on >= 3.6.
Do not add readConcern to explain.
Test explain with collation.
2017-11-30 14:53:14 -08:00
Shane Harvey
e554d6116c PYTHON-1419 Call endSessions on MongoClient.close. 2017-11-28 14:26:25 -08:00
Shane Harvey
b669cd86dc PYTHON-1332 Session may only be used by the client that started it.
Centralize $clusterTime receiving.
2017-11-17 09:27:21 -08:00
Bernie Hackett
99aefd6847 PYTHON-1413 - Restrict when we add readConcern 2017-11-16 19:12:23 -08:00
Bernie Hackett
ae24c4c8b3 PYTHON-1406 - Fix causal test failures 2017-11-14 10:00:40 -08:00
Bernie Hackett
6507d263b9 PYTHON-1398 - Raw batch methods do not support sessions 2017-11-10 10:02:29 -08:00
Shane Harvey
6c8f5a2fee PYTHON-1332 Remove session workaround for createUser.
parallel_scan does use implicit sessions.
2017-11-09 19:39:27 -08:00
Bernie Hackett
4eda4ffaec PYTHON-1340 - Implement causally consistent reads 2017-11-09 17:16:55 -08:00
A. Jesse Jiryu Davis
df018e88e2 PYTHON-1332 - Gossip $clusterTime 2017-10-12 09:08:38 -04:00
A. Jesse Jiryu Davis
dad61a058b PYTHON-1332 - Update session's last_use 2017-10-05 15:03:36 -04:00
A. Jesse Jiryu Davis
889a36464f PYTHON-1332 - Sessions and multi-auth 2017-10-03 17:19:09 -04:00
A. Jesse Jiryu Davis
41096d5875 PYTHON-1332 - Check current user owns session 2017-10-02 12:05:11 -04:00
A. Jesse Jiryu Davis
3cba982db9 PYTHON-1332 - Test lsid with all commands 2017-09-29 14:52:26 -04:00
A. Jesse Jiryu Davis
200b699ba5 PYTHON-1332 - Prohibit using ended session 2017-09-14 23:21:43 -04:00
A. Jesse Jiryu Davis
57b5a01b91 PYTHON-1332 - Use bytes in GridFS session test 2017-09-13 14:01:39 -04:00
A. Jesse Jiryu Davis
1a3962863d PYTHON-1332 - Refactor session + collection test 2017-09-12 22:19:08 -04:00
A. Jesse Jiryu Davis
e86742d27b PYTHON-1332 - Session param for GridFS methods
Also refactor session tests.
2017-09-12 16:27:54 -04:00
A. Jesse Jiryu Davis
ab3ab3fdaf PYTHON-1332 - Avoid fsync test on mongos 2017-09-12 11:09:11 -04:00
A. Jesse Jiryu Davis
cf23c113a4 PYTHON-1332 - Test user-admin commands + sessions 2017-09-11 17:50:55 -04:00
A. Jesse Jiryu Davis
afb6a931d7 PYTHON-1332 - Session param for client methods 2017-09-11 17:46:44 -04:00
A. Jesse Jiryu Davis
6ff5b78d72 PYTHON-1332 - Session for deref and profiling_info 2017-09-11 17:46:44 -04:00
A. Jesse Jiryu Davis
2487e9b71f PYTHON-1332 - Session param for Collection methods 2017-09-11 17:46:44 -04:00
A. Jesse Jiryu Davis
1057562df0 PYTHON-1332 - Update sessions tests for auth 2017-09-11 17:38:52 -04:00
A. Jesse Jiryu Davis
9327d0c5de PYTHON-1332 - Pass session to Database methods 2017-09-11 17:38:52 -04:00
A. Jesse Jiryu Davis
2bcddf96f6 PYTHON-1332 - db.command accepts session param 2017-09-11 17:38:52 -04:00
A. Jesse Jiryu Davis
d0da78ae54 PYTHON-1332 - Pool server sessions
Also check if the topology supports sessions, error otherwise.
2017-09-01 18:18:26 -04:00
A. Jesse Jiryu Davis
ac052ae86c PYTHON-1332 - Begin the Session API 2017-09-01 14:02:10 -04:00