[SERVER-4121] No way to query with slaveOk via HTTP interface Created: 21/Oct/11 Updated: 17/Feb/17 Resolved: 17/Feb/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | HTTP Console |
| Affects Version/s: | 2.0.0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Tony Hannan | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Won't Fix | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
"http://localhost:28002/test/foo/" against a secondary returns: { ], "total_rows" : 1 , How do you say "slave is ok"? I don't think you can. |
| Comments |
| Comment by Mira Carey [ 17/Feb/17 ] |
|
The http interface was deprecated 2 releases ago and no further development is planned for that component |
| Comment by Scott Hernandez (Inactive) [ 24/Oct/11 ] |
|
Yes, you can run commands which will write data on the server. Setting the slaveOk flag on the query might not be a bad idea, but some things fail in other ways depending on what you do. |
| Comment by Malte Finsterwalder [ 24/Oct/11 ] |
|
Is it possible to change data through the HTTP interface? |