[JAVA-146] Verify server support for a feature before allowing using of that feature Created: 06/Aug/10 Updated: 25/Nov/15 Resolved: 25/Nov/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Cluster Management |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Verify the server has a feature before issuing commands requiring that feature. The driver can check (and warn/error-out) if the server limits the maxBsonSize and you send it something too big. Also, if you try to use $where or some other unsupported operation it could check that (like in the QueryBuilder, or other fluent interfaces). This would be blocked until |
| Comments |
| Comment by Jeffrey Yemin [ 12/Jul/13 ] |
|
This could also be based on buildinfo, in the absence of support for a features command. |