[SERVER-20884] ReplyBuilderInterface should have a way to expose the builder's buffer to Command::run() Created: 12/Oct/15 Updated: 24/Nov/15 Resolved: 13/Nov/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | David Storch | Assignee: | Adam Midvidy |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Major Change | ||||||||||||||||
| Sprint: | Platform B (10/30/15), Platform C (11/20/15) | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
This can avoid extra copies of the command response in the RPC layer. |
| Comments |
| Comment by Adam Midvidy [ 16/Nov/15 ] | ||||||||||||||||||||||||
|
jonathan.abrahams, this is expected behavior as this changes the wire protocol of OP_COMMAND from rc3 to be slightly different than the protocol used in rc2 and the previous 3.1.x development release series. Note that we do not claim to provide backwards compatibility between development releases, and the shell from our previous stable release (3.0.7) will still work against a 3.2.0-rc3 server. If you need to use a pre 3.2.0-rc3 shell, have the shell use OP_QUERY only by passing the | ||||||||||||||||||||||||
| Comment by Jonathan Abrahams [ 16/Nov/15 ] | ||||||||||||||||||||||||
|
The affect of this change means that mongo shell (3.2.0-rc2) cannot communicate with mongod 3.2.-rc3:
Steps performed on OSX:
| ||||||||||||||||||||||||
| Comment by Adam Midvidy [ 13/Nov/15 ] | ||||||||||||||||||||||||
|
This change breaks rolling upgrade from rc2 to rc3. | ||||||||||||||||||||||||
| Comment by Githook User [ 13/Nov/15 ] | ||||||||||||||||||||||||
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: | ||||||||||||||||||||||||
| Comment by Githook User [ 13/Nov/15 ] | ||||||||||||||||||||||||
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |