[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:
Depends
depends on SERVER-1582 add more things to "features" command Closed

 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 SERVER-1582 is done.



 Comments   
Comment by Jeffrey Yemin [ 12/Jul/13 ]

This could also be based on buildinfo, in the absence of support for a features command.

Generated at Thu Feb 08 08:51:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.