Olivine-Labs / resty-mongol

Lua MongoDB driver
MIT License
46 stars 23 forks source link

rework getprimary fun for compatibility with mongo 3.6 #17

Open heldner opened 4 years ago

heldner commented 4 years ago

Hello! I found that current version of getprimary function in not compatible with mongo 3.6. In new versions of mongodb persists address of primary node in "ismaster" request. There are small changes for compatibility with new versions of mongodb.