Commit c3b81bb
Allow passing slice pointer as an interface pointer to Iter.All (#181)
* 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
* Allow passing slice pointer as an interface pointer to Iter.All
* Reverted to original error message, added test case for interface{} ptr1 parent 7253b2b commit c3b81bb
3 files changed
+23
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1453 | 1453 | | |
1454 | 1454 | | |
1455 | 1455 | | |
1456 | | - | |
1457 | 1456 | | |
1458 | 1457 | | |
1459 | 1458 | | |
| |||
4408 | 4407 | | |
4409 | 4408 | | |
4410 | 4409 | | |
4411 | | - | |
| 4410 | + | |
4412 | 4411 | | |
4413 | 4412 | | |
| 4413 | + | |
4414 | 4414 | | |
| 4415 | + | |
| 4416 | + | |
| 4417 | + | |
| 4418 | + | |
| 4419 | + | |
| 4420 | + | |
| 4421 | + | |
| 4422 | + | |
4415 | 4423 | | |
4416 | 4424 | | |
4417 | 4425 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
456 | 468 | | |
457 | 469 | | |
458 | 470 | | |
| |||
0 commit comments