node.js - What does "ha" event in nodejs-mongodb-native@2.x mean? -


i'm using mongodb replica set rf=3. there's event "ha" in docs , see impact on update op huge:

[wed apr 29 2015 09:00:13 gmt+0300 (msk)] [pid 7251] update took 0ms uuid 08ecd93346daa1b8b6fef1772cea0469 [wed apr 29 2015 09:00:13 gmt+0300 (msk)] [pid 7251] update took 1ms uuid ea9a71aa09f0a8c3a169dcbb895e023d [wed apr 29 2015 09:00:13 gmt+0300 (msk)] [pid 7251] update took 1ms uuid c4b51c3c1e7c18ab9c4f1e410af26a1b [wed apr 29 2015 09:00:14 gmt+0300 (msk)] [pid 7251] [event ha] ["start",{"norepeat":false,"id":8,"state":{"primary":"...","secondaries":["...", "..."]}}] [wed apr 29 2015 09:00:14 gmt+0300 (msk)] [pid 7251] [event ha_connect] ["start",{"norepeat":false,"id":8,"state":{"primary":"...","secondaries":["...", "..."]}}] [wed apr 29 2015 09:00:15 gmt+0300 (msk)] [pid 7251] update took 2124ms uuid 07de843901cf5bc107f11e9965204920 [wed apr 29 2015 09:00:15 gmt+0300 (msk)] [pid 7251] update took 2122ms uuid 021c149b4a5272ef7b49296667484e1b [wed apr 29 2015 09:00:15 gmt+0300 (msk)] [pid 7251] update took 2122ms uuid d5a7cfcc47aa5c238d33f2257edab674 

as far see, event comes mongodb-core. what's meaning of event? replica set connection lost every n seconds , restored?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -