-
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
changeStream support #97
changeStream support #97
Commits on Aug 8, 2017
-
Merge branch 'master' into development
* master: Add contribution guidelines. Add more changes to README.
Configuration menu - View commit details
-
Copy full SHA for de872a6 - Browse repository at this point
Copy the full SHA de872a6View commit details
Commits on Aug 15, 2017
-
Merge branch 'master' into development
* master: Run integration tests against 3.2.16 (#24)
Configuration menu - View commit details
-
Copy full SHA for 1519fd3 - Browse repository at this point
Copy the full SHA 1519fd3View commit details
Commits on Aug 30, 2017
-
add DropAllIndexes() method (#25)
Create a new method to drop all the indexes of a collection in a single call
Configuration menu - View commit details
-
Copy full SHA for 454da02 - Browse repository at this point
Copy the full SHA 454da02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93aaa6e - Browse repository at this point
Copy the full SHA 93aaa6eView commit details
Commits on Sep 6, 2017
-
send metadata during handshake (#28)
fix [#484](https://github.com/go-mgo/mgo/issues/484) Annotate connections with metadata provided by the connecting client. informations send: { "aplication": { // optional "name": "myAppName" } "driver": { "name": "mgo", "version": "v2" }, "os": { "type": runtime.GOOS, "architecture": runtime.GOARCH } } to set "application.name", add `appname` param in options of string connection URI, for example : "mongodb://localhost:27017?appname=myAppName"
Configuration menu - View commit details
-
Copy full SHA for 165af68 - Browse repository at this point
Copy the full SHA 165af68View commit details -
Update README to add appName (#32)
* docs: elaborate on what appName does * readme: add appName to changes
Configuration menu - View commit details
-
Copy full SHA for a76b1a0 - Browse repository at this point
Copy the full SHA a76b1a0View commit details
Commits on Sep 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 25200e4 - Browse repository at this point
Copy the full SHA 25200e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f4c10f - Browse repository at this point
Copy the full SHA 1f4c10fView commit details -
Don't panic on indexed int64 fields (#23)
* Stop all db instances after tests (go-mgo#462) If all tests pass, the builds for mongo earlier than 2.6 are still failing. Running a clean up fixes the issue. * fixing int64 type failing when getting indexes and trying to type them * requested changes relating to case statement and panic * Update README.md to credit @mapete94. * tests: ensure indexed int64 fields do not cause a panic in Indexes() See: * #23 * https://github.com/go-mgo/mgo/issues/475 * go-mgo#476
Configuration menu - View commit details
-
Copy full SHA for 934a190 - Browse repository at this point
Copy the full SHA 934a190View commit details
Commits on Sep 13, 2017
-
Add collation option to collection.Create() (#37)
- Allow specifying the default collation for the collection when creating it. - Add some documentation to query.Collation() method. fix #29
Configuration menu - View commit details
-
Copy full SHA for b37e3c1 - Browse repository at this point
Copy the full SHA b37e3c1View commit details
Commits on Sep 15, 2017
-
support the $changeStream aggregation in 3.6+
The $changeStream aggregation isn't very well documented, but an overview can be found here: https://mongodb.github.io/mongo-java-driver/3.6/driver/tutorials/change-streams/ This commit is a squash of 4 commits from the 10gen fork of mgo: * e78a135 * 31a6d57 * 7940d20 * 0d8351c
Configuration menu - View commit details
-
Copy full SHA for 10876f5 - Browse repository at this point
Copy the full SHA 10876f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b82ca4c - Browse repository at this point
Copy the full SHA b82ca4cView commit details -
Test against MongoDB 3.4.x (#35)
* test against MongoDB 3.4.x * tests: use listIndexes to assert index state for 3.4+ * make test pass against v3.4.x - skip `TestViewWithCollation` because of SERVER-31049, cf: https://jira.mongodb.org/browse/SERVER-31049 - add versionAtLeast() method in init.js script to better detect server version fixes #31
Configuration menu - View commit details
-
Copy full SHA for aead58f - Browse repository at this point
Copy the full SHA aead58fView commit details
Commits on Sep 18, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 5b7a419 - Browse repository at this point
Copy the full SHA 5b7a419View commit details
Commits on Sep 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 950ed5a - Browse repository at this point
Copy the full SHA 950ed5aView commit details
Commits on Sep 28, 2017
-
Configuration menu - View commit details
-
Copy full SHA for d21a525 - Browse repository at this point
Copy the full SHA d21a525View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d743b4 - Browse repository at this point
Copy the full SHA 9d743b4View commit details -
Merge pull request #45 from globalsign/feature/update-readme
readme: add missing feature descriptions / credit
vgalu authoredSep 28, 2017 Configuration menu - View commit details
-
Copy full SHA for c86ed84 - Browse repository at this point
Copy the full SHA c86ed84View commit details
Commits on Oct 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 97bd0cd - Browse repository at this point
Copy the full SHA 97bd0cdView commit details
Commits on Oct 9, 2017
-
Configuration menu - View commit details
-
Copy full SHA for fd79249 - Browse repository at this point
Copy the full SHA fd79249View commit details
Commits on Oct 11, 2017
-
Fix GetBSON() method usage (#40)
* Fix GetBSON() method usage Original issue --- You can't use type with custom GetBSON() method mixed with structure field type and structure field reference type. For example, you can't create custom GetBSON() for Bar type: ``` struct Foo { a Bar b *Bar } ``` Type implementation (`func (t Bar) GetBSON()` ) would crash on `Foo.b = nil` value encoding. Reference implementation (`func (t *Bar) GetBSON()` ) would not call on `Foo.a` value encoding. After this change --- For type implementation `func (t Bar) GetBSON()` would not call on `Foo.b = nil` value encoding. In this case `nil` value would be seariazied as `nil` BSON value. For reference implementation `func (t *Bar) GetBSON()` would call even on `Foo.a` value encoding. * Minor refactoring
Configuration menu - View commit details
-
Copy full SHA for dba7b4c - Browse repository at this point
Copy the full SHA dba7b4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12fb1c2 - Browse repository at this point
Copy the full SHA 12fb1c2View commit details
Commits on Oct 19, 2017
-
Improve cursorData struct unmarshaling speed (#49)
This change remove full BSON decoding on: - parsing to `bson.Raw` and `bson.DocElem` fields; - skipping unused BSON fields.
Configuration menu - View commit details
-
Copy full SHA for 199dc25 - Browse repository at this point
Copy the full SHA 199dc25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 345ab0b - Browse repository at this point
Copy the full SHA 345ab0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0454966 - Browse repository at this point
Copy the full SHA 0454966View commit details
Commits on Nov 2, 2017
-
Add proper DN construction (#55)
* Add proper DN construction * Added openssl check to test * Addressed code review comments * Changes to RDNformatting, and test * type/value fields to tests * Changes to RDN formatting * Corrected comment in getRFC2253NameString * Corrected comment in getRFC2253NameString * Changes to login and rdn formatting * Changed escaping of #
Configuration menu - View commit details
-
Copy full SHA for 663dfe5 - Browse repository at this point
Copy the full SHA 663dfe5View commit details
Commits on Nov 3, 2017
-
reduce memory allocation in bulk op (#56)
use memory pooling to reuse bulkActions and avoid some allocations
Configuration menu - View commit details
-
Copy full SHA for 7cd0b89 - Browse repository at this point
Copy the full SHA 7cd0b89View commit details
Commits on Nov 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ea8e8e6 - Browse repository at this point
Copy the full SHA ea8e8e6View commit details
Commits on Dec 12, 2017
-
MongoDB 3.6: implement the new wire protocol (#61)
* test against 3.6 * update go and mongodb version - use last minor version for each major serie of mongodb - use travis 'go' param instead of eval "$(gimme $GO)" as it fails to install correctly last minor version ( 1.8.x notation for example) * test fixes on 3.2.17 also re-enable TestFindIterSnapshot as it was fixed a long time ago * fix X509 test fix TestAuthX509CredRDNConstruction test: need to create an user with {"username": subject} before trying to login * Fix auth test on 3.6-rc3 Make sure that "rs3/127.0.0.1/40031" is elected at primary. Create user before running 'addShard' command as it requires root access Also add a retry mechanism to make sure that shard are correctly added cf https://docs.mongodb.com/manual/tutorial/deploy-shard-cluster/ * implement OP_MSG wire protocole require maxWireVersion >= 6 on server side, and `experimental=opmsg` in the connection string - get `MaxMessageSizeBytes` and `MaxWriteBatchSize` from handshake - allow unacknowledged writes with `moreToCome` flag - split bulk operations in batch of `maxWriteBatchSize` - add 'experimental' param in URL. To enable an experimental feature, add `experimental=featureName` in the connection URL flush logout directly Previously, `flushLogout()` was called at the beginning of each Query to the database. To avoid these useless calls, we flush logout directly when `Logout()` or `LogoutAll()` is called * re-enable TestViewWithCollation SERVER-31049 is fixed in 3.4.10, so re-enable it * refactor memory pooling use the same pool for send and received messages. Slices are returned to the pool without being resized. Default allocation size might need to be updated (currently 256, no benchmarks available yet) * update to 3.6.0 stable
Configuration menu - View commit details
-
Copy full SHA for 90c056c - Browse repository at this point
Copy the full SHA 90c056cView commit details -
Merge branch 'master' into development
* master: Merge Development (#57) Revert "do not lock while writing to a socket (#52)" do not lock while writing to a socket (#52) Merge Development (#48) Merge development (#39) # Conflicts: # .travis.yml # cluster_test.go # harness/daemons/.env # harness/mongojs/init.js # session.go # session_internal_test.go # session_test.go
Configuration menu - View commit details
-
Copy full SHA for 1ac9b5d - Browse repository at this point
Copy the full SHA 1ac9b5dView commit details
Commits on Dec 27, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a104bfb - Browse repository at this point
Copy the full SHA a104bfbView commit details
Commits on Jan 9, 2018
-
* Revert "MongoDB 3.6: implement the new wire protocol (#61)" This reverts commit 90c056c. * test against 3.6 * update go and mongodb version - use last minor version for each major serie of mongodb - use travis 'go' param instead of eval "$(gimme $GO)" as it fails to install correctly last minor version ( 1.8.x notation for example) * test fixes on 3.2.17 also re-enable TestFindIterSnapshot as it was fixed a long time ago * fix X509 test fix TestAuthX509CredRDNConstruction test: need to create an user with {"username": subject} before trying to login * Fix auth test on 3.6-rc3 Make sure that "rs3/127.0.0.1/40031" is elected at primary. Create user before running 'addShard' command as it requires root access Also add a retry mechanism to make sure that shard are correctly added cf https://docs.mongodb.com/manual/tutorial/deploy-shard-cluster/ * update to 3.6.0 stable * tests: cherry pick missing 3.6+ support changes
Configuration menu - View commit details
-
Copy full SHA for f9be6c5 - Browse repository at this point
Copy the full SHA f9be6c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 138ba2f - Browse repository at this point
Copy the full SHA 138ba2fView commit details -
auth: add an example for x509 authentication (#75)
* auth: add an example for x509 authentication
Configuration menu - View commit details
-
Copy full SHA for 9acbd68 - Browse repository at this point
Copy the full SHA 9acbd68View commit details
Commits on Jan 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for eeedc17 - Browse repository at this point
Copy the full SHA eeedc17View commit details
Commits on Jan 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 88cedcd - Browse repository at this point
Copy the full SHA 88cedcdView commit details
Commits on Jan 31, 2018
-
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.
Configuration menu - View commit details
-
Copy full SHA for 90ad51b - Browse repository at this point
Copy the full SHA 90ad51bView commit details
Commits on Feb 6, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9b03c58 - Browse repository at this point
Copy the full SHA 9b03c58View commit details -
Added maxAwaitTimeMS support to ChangeStream so Next() times out. Add…
…ed tests. Fixed leaking connections and error handling.
Configuration menu - View commit details
-
Copy full SHA for 4eb6ac9 - Browse repository at this point
Copy the full SHA 4eb6ac9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 467c79f - Browse repository at this point
Copy the full SHA 467c79fView commit details -
Better refactored harness daemons env file --nojournal removal. Added…
… mongo version based tests skips for ChangeStreams.
Configuration menu - View commit details
-
Copy full SHA for c8cbfa8 - Browse repository at this point
Copy the full SHA c8cbfa8View commit details
Commits on Feb 8, 2018
-
Changed stream iterator timeout handling from driver to DB
Changed stream iterator timeout handling from driver to DB. Added MaxTimeMS option to Pipe in order to be able to set the maximum query run time. Disabled collation parameter in ChangeStreamOptions as currently we don't support it.
Configuration menu - View commit details
-
Copy full SHA for 5534387 - Browse repository at this point
Copy the full SHA 5534387View commit details
Commits on Feb 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f341232 - Browse repository at this point
Copy the full SHA f341232View commit details
Commits on Feb 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for cebee9a - Browse repository at this point
Copy the full SHA cebee9aView commit details