[SERVER-32522] set_read_and_write_concerns.js treats mapReduce "out" field like aggregation's $out stage Created: 03/Jan/18 Updated: 30/Oct/23 Resolved: 31/Jan/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.20, 3.4.14, 3.6.3, 3.7.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v3.6, v3.4, v3.2
|
||||||||||||||||||||||||||||||||
| Sprint: | TIG 2018-02-12 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||||||||||||||
| Description |
It should instead check to see whether {out: {inline: 1}} was specified similar to what is being done in set_read_preference_secondary.js. We should also define some helper functions for determining whether the command object is (a) an "aggregate" command with a $out stage, or (b) a "mapReduce" (or "mapreduce") command with non-inline output to avoid duplicating logic across both set_read_and_write_concerns.js and set_read_preference_secondary.js. |
| Comments |
| Comment by Githook User [ 23/Feb/18 ] | ||||||||||||||||||||
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: | ||||||||||||||||||||
| Comment by Githook User [ 23/Feb/18 ] | ||||||||||||||||||||
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: Concern and readPreference overrides. Introduces OverrideHelpers object with convenience methods for Also removes a number of tests that were incorrectly blacklisted from (cherry picked from commit 35b5b72146ca570b5c6fed8aaa7e891edf7d6a78) | ||||||||||||||||||||
| Comment by Githook User [ 14/Feb/18 ] | ||||||||||||||||||||
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: Concern and readPreference overrides. Introduces OverrideHelpers object with convenience methods for Also removes a number of tests that were incorrectly blacklisted from (cherry picked from commit 35b5b72146ca570b5c6fed8aaa7e891edf7d6a78) | ||||||||||||||||||||
| Comment by Githook User [ 12/Feb/18 ] | ||||||||||||||||||||
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: Concern and readPreference overrides. Introduces OverrideHelpers object with convenience methods for Also removes a number of tests that were incorrectly blacklisted from (cherry picked from commit 35b5b72146ca570b5c6fed8aaa7e891edf7d6a78) | ||||||||||||||||||||
| Comment by Githook User [ 31/Jan/18 ] | ||||||||||||||||||||
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: | ||||||||||||||||||||
| Comment by Max Hirschhorn [ 31/Jan/18 ] | ||||||||||||||||||||
|
Reopening this ticket to address a test failure when running jstests/change_streams/change_stream_invalidation.js against the inMemory storage engine.
| ||||||||||||||||||||
| Comment by Githook User [ 31/Jan/18 ] | ||||||||||||||||||||
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: Concern and readPreference overrides. Introduces OverrideHelpers object with convenience methods for Also removes a number of tests that were incorrectly blacklisted from |