-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release/r2018.06.15 #191
Release/r2018.06.15 #191
Commits on Apr 15, 2018
-
Larry Cinnabar committed
Apr 15, 2018 Configuration menu - View commit details
-
Copy full SHA for 3381f10 - Browse repository at this point
Copy the full SHA 3381f10View commit details
Commits on Apr 29, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 3fb5f17 - Browse repository at this point
Copy the full SHA 3fb5f17View commit details -
inline pointer_to_struce mode: update comments. return error on point…
…er not to struct
Larry Cinnabar committedApr 29, 2018 Configuration menu - View commit details
-
Copy full SHA for 46c4b47 - Browse repository at this point
Copy the full SHA 46c4b47View commit details
Commits on Apr 30, 2018
-
Merge pull request #146 from larrycinnabar/development
allow ptr in inline structs
Configuration menu - View commit details
-
Copy full SHA for 9a3d363 - Browse repository at this point
Copy the full SHA 9a3d363View commit details
Commits on May 8, 2018
-
fix(dbtest): Use os.Kill on windows instead of Interrupt 🐛
I've added a use for os.Kill, instead of os.Interrupt signal, when using Windows. I'm current developing my project on Windows, and using DBServer.Stop() was resulting in: "timeout waiting for mongod process to die". After investigating, I've discovered that os.Interrupt isn't implemented on Windows, and it seems golang has Frozen this issue due to age (2013). They instruct to use os.Kill instead. Using this, the DBServer on my project works with no problem.
Configuration menu - View commit details
-
Copy full SHA for db3a6a9 - Browse repository at this point
Copy the full SHA db3a6a9View commit details
Commits on May 9, 2018
-
Merge pull request #158 from ddspog/development
dbtest: Use os.Kill on Windows instead of os.Interrupt
Configuration menu - View commit details
-
Copy full SHA for a46ca38 - Browse repository at this point
Copy the full SHA a46ca38View commit details -
Respect nil slices, maps in bson encoder (#147)
* 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 * added support for marshalling/unmarshalling maps with non-string keys * refactor method receiver * added support for json-compatible support for slices and maps Marshal() func: nil slice or map converts to nil, not empty (initialized with len=0) * fix IsNil on slices and maps format * added godoc * fix sasl empty payload * fix scram-sha-1 auth * revert fix sasl empty payload
Configuration menu - View commit details
-
Copy full SHA for 45151e7 - Browse repository at this point
Copy the full SHA 45151e7View commit details
Commits on May 11, 2018
-
Separate read/write network timeouts (#161)
* socket: separate read/write network timeouts Splits DialInfo.Timeout (defaults to 60s when using mgo.Dial()) into ReadTimeout and WriteTimeout to address #160. Read/write timeout defaults to DialInfo.Timeout to preserve existing behaviour. * cluster: remove AcquireSocket Only used by tests, replaced by the pool-aware acquire socket functions: * AcquireSocketWithPoolTimeout * AcquireSocketWithBlocking * cluster: use configured timeouts for cluster operations * `mongoCluster.syncServer()` no longer uses hard-coded 5 seconds * `mongoCluster.isMaster()` no longer uses hard-coded 10 seconds * tests: use DialInfo for internal timeouts * server: fix fantastic serverTags nil slice bug When unmarshalling serverTags, it is now an empty slice, instead of a nil slice. `len(thing) == 0` works all the time, regardless. * cluster: remove unused duplicate pool config * session: avoid calculating default values in hot path Changes `DialWithInfo` to handle setting default values by setting the relevant `DialInfo` field, rather than calling the respective methods in the hot path for: * `PoolLimit` * `ReadTimeout` * `WriteTimeout` * session: remove unused consts * session: update docs
Configuration menu - View commit details
-
Copy full SHA for 72d0ac2 - Browse repository at this point
Copy the full SHA 72d0ac2View commit details
Commits on May 14, 2018
-
add URI options: "w", "j", "wtimeoutMS" (#162)
* add URI options: "w", "j", "wtimeoutMS" * change "w" to "j"
Configuration menu - View commit details
-
Copy full SHA for 2e9fa92 - Browse repository at this point
Copy the full SHA 2e9fa92View commit details
Commits on May 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for bd62d93 - Browse repository at this point
Copy the full SHA bd62d93View commit details
Commits on May 21, 2018
-
Expand documentation for *Iter.Next (#163)
The documentation now explains the difference between calling Err and Close after Next returns false. The example code has been expanded to include checking for timeout.
Configuration menu - View commit details
-
Copy full SHA for 48a27cc - Browse repository at this point
Copy the full SHA 48a27ccView commit details
Commits on May 22, 2018
-
add NewMongoTimestamp() and MongoTimestamp.Time(),Counter() (#171)
code is inspired by go-mgo#202
Configuration menu - View commit details
-
Copy full SHA for 0d9d58e - Browse repository at this point
Copy the full SHA 0d9d58eView commit details
Commits on Jun 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7253b2b - Browse repository at this point
Copy the full SHA 7253b2bView commit details
Commits on Jun 5, 2018
-
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{} ptr
Configuration menu - View commit details
-
Copy full SHA for c3b81bb - Browse repository at this point
Copy the full SHA c3b81bbView commit details
Commits on Jun 8, 2018
-
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 * fix
Configuration menu - View commit details
-
Copy full SHA for abe06ac - Browse repository at this point
Copy the full SHA abe06acView commit details
Commits on Jun 11, 2018
-
readme: credit everyone (#187)
* @cedric-cordenier * @DaytonG * @ddspog * @gedge * @jefferickson * @larrycinnabar * @Mei-Zhao * @roobre
Configuration menu - View commit details
-
Copy full SHA for 8a9677c - Browse repository at this point
Copy the full SHA 8a9677cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 728c7df - Browse repository at this point
Copy the full SHA 728c7dfView commit details -
Add support for ssl dial string (#184)
* Add support for ssl dial string * Ensure we dont override user settings * update examples * update ssl value parsing * PingSsl test * skip test requiring system certificates
Configuration menu - View commit details
-
Copy full SHA for b8af7cf - Browse repository at this point
Copy the full SHA b8af7cfView commit details
Commits on Jun 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 20226c9 - Browse repository at this point
Copy the full SHA 20226c9View commit details -
Merge branch 'development' of ssh://github.com/globalsign/mgo into re…
…lease/r2018.06.15 * 'development' of ssh://github.com/globalsign/mgo: readme: credit @tbruyelle (#190) Add support for ssl dial string (#184) revert: MGO-156 Avoid iter.Next deadlock on dead sockets (#182) (#188) readme: credit everyone (#187) Contributing:findAndModify support writeConcern (#185) Allow passing slice pointer as an interface pointer to Iter.All (#181) MGO-156 Avoid iter.Next deadlock on dead sockets (#182) add NewMongoTimestamp() and MongoTimestamp.Time(),Counter() (#171) Expand documentation for *Iter.Next (#163) Add Collation support for calling Count() on a Query (#166) add URI options: "w", "j", "wtimeoutMS" (#162) Separate read/write network timeouts (#161) Respect nil slices, maps in bson encoder (#147) fix(dbtest): Use os.Kill on windows instead of Interrupt 🐛 inline pointer_to_struce mode: update comments. return error on pointer not to struct allow ptr in inline structs
Configuration menu - View commit details
-
Copy full SHA for 7045023 - Browse repository at this point
Copy the full SHA 7045023View commit details