refactor(replset): return an error if primary not used with txns
refactor(replset): return an error if primary not used with txns

mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native