-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.0.0-beta1
-
Component/s: None
-
None
When a mongoc_read_prefs_t is allocated, the tags are initialized to an empty BSON document. We should be able to remove checks like intern->read_preference->tags.len in the ReadPreference methods and debug handlers, as the places where we would return a NULL PHP value are never reached.