Commit abe06ac
Contributing:findAndModify support writeConcern (#185)
* socket: only send client metadata once per socket (#105)
Periodic cluster synchronisation calls isMaster() which currently resends the
"client" metadata every call - the spec specifies:
isMaster commands issued after the initial connection handshake MUST NOT
contain handshake arguments
https://github.com/mongodb/specifications/blob/master/source/mongodb-handshake/handshake.rst#connection-handshake
This hotfix prevents subsequent isMaster calls from sending the client metadata
again - fixes #101 and fixes #103.
Thanks to @changwoo-nam @qhenkart @canthefason @jyoon17 for spotting the initial
issue, opening tickets, and having the problem debugged with a PoC fix before I
even woke up.
* Merge Development (#111)
* Brings in a patch on having flusher not suppress errors. (#81)
go-mgo#360
* Fallback to JSON tags when BSON tag isn't present (#91)
* Fallback to JSON tags when BSON tag isn't present
Cleanup.
* Add test to demonstrate tagging fallback.
- Test coverage for tagging test.
* socket: only send client metadata once per socket
Periodic cluster synchronisation calls isMaster() which currently resends the
"client" metadata every call - the spec specifies:
isMaster commands issued after the initial connection handshake MUST NOT
contain handshake arguments
https://github.com/mongodb/specifications/blob/master/source/mongodb-handshake/handshake.rst#connection-handshake
This hotfix prevents subsequent isMaster calls from sending the client metadata
again - fixes #101 and fixes #103.
Thanks to @changwoo-nam @qhenkart @canthefason @jyoon17 for spotting the initial
issue, opening tickets, and having the problem debugged with a PoC fix before I
even woke up.
* Cluster abended test 254 (#100)
* Add a test that mongo Server gets their abended reset as necessary.
See https://github.com/go-mgo/mgo/issues/254 and
https://github.com/go-mgo/mgo/pull/255/files
* Include the patch from Issue 255.
This brings in a test which fails without the patch, and passes with the
patch. Still to be tested, manual tcpkill of a socket.
* changeStream support (#97)
Add $changeStream support
* readme: credit @peterdeka and @steve-gray (#110)
* Hotfix #120 (#136)
* cluster: fix deadlock in cluster synchronisation (#120)
For a impressively thorough breakdown of the problem, see:
#120 (comment)
Huge thanks to @dvic and @KJTsanaktsidis for the report and fix.
* readme: credit @dvic and @KJTsanaktsidis
* findAndModify support writeConcern
* fix1 parent c3b81bb commit abe06ac
2 files changed
+66
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2893 | 2893 | | |
2894 | 2894 | | |
2895 | 2895 | | |
| 2896 | + | |
2896 | 2897 | | |
2897 | 2898 | | |
2898 | 2899 | | |
| |||
4894 | 4895 | | |
4895 | 4896 | | |
4896 | 4897 | | |
| 4898 | + | |
4897 | 4899 | | |
4898 | 4900 | | |
4899 | 4901 | | |
4900 | | - | |
4901 | | - | |
| 4902 | + | |
| 4903 | + | |
| 4904 | + | |
4902 | 4905 | | |
4903 | 4906 | | |
4904 | 4907 | | |
4905 | 4908 | | |
4906 | 4909 | | |
4907 | 4910 | | |
4908 | 4911 | | |
| 4912 | + | |
| 4913 | + | |
4909 | 4914 | | |
4910 | 4915 | | |
4911 | 4916 | | |
| |||
4942 | 4947 | | |
4943 | 4948 | | |
4944 | 4949 | | |
| 4950 | + | |
| 4951 | + | |
| 4952 | + | |
| 4953 | + | |
| 4954 | + | |
| 4955 | + | |
| 4956 | + | |
| 4957 | + | |
| 4958 | + | |
| 4959 | + | |
| 4960 | + | |
4945 | 4961 | | |
4946 | | - | |
4947 | | - | |
4948 | | - | |
4949 | | - | |
4950 | | - | |
4951 | | - | |
4952 | | - | |
4953 | | - | |
| 4962 | + | |
| 4963 | + | |
| 4964 | + | |
| 4965 | + | |
| 4966 | + | |
| 4967 | + | |
| 4968 | + | |
| 4969 | + | |
| 4970 | + | |
4954 | 4971 | | |
4955 | 4972 | | |
4956 | 4973 | | |
| |||
4993 | 5010 | | |
4994 | 5011 | | |
4995 | 5012 | | |
| 5013 | + | |
| 5014 | + | |
| 5015 | + | |
| 5016 | + | |
| 5017 | + | |
| 5018 | + | |
| 5019 | + | |
| 5020 | + | |
4996 | 5021 | | |
4997 | 5022 | | |
4998 | 5023 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1370 | 1370 | | |
1371 | 1371 | | |
1372 | 1372 | | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
1373 | 1404 | | |
1374 | 1405 | | |
1375 | 1406 | | |
| |||
0 commit comments