Done. The safe mode is set to "majority" to ensure, that the majority of all servers has acknowledged. The mode is set to "eventual" which allows to read from any secondary but write to master server.
Done. The safe mode is set to "majority" to ensure, that the majority of all servers has acknowledged. The mode is set to "eventual" which allows to read from any secondary but write to master server.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Check the default behavior of mgo's safe setting and afterwards may use SetSafe() for the session, to provide a propper mode.
There is also a EnsureSafe() function! Check the whole behavior behind this.
Done. The safe mode is set to "majority" to ensure, that the majority of all servers has acknowledged. The mode is set to "eventual" which allows to read from any secondary but write to master server.
Todo: Specify both also for the ConfigurationDB!
Done and all tests passed :)