Closed nzyuzin closed 8 years ago
The commit bd0658460bf1dae734953d70955876fdfd159c34 introduced a regression with impossibility to write server state for newly seen servers. Because server state is first read then written returning 0 if state is not present during read makes it impossible for write to happen therefore effectively blocking any state updates https://github.com/needs/teerank/commit/bd0658460bf1dae734953d70955876fdfd159c34#diff-0235f01a49d01b35e981a41f59a9d2d6R40
This PR also fixes left-out assertions that weren't removed in the said commit and adds vim generated .swp files in .gitignore.
Works like a charm, thanks!
The commit bd0658460bf1dae734953d70955876fdfd159c34 introduced a regression with impossibility to write server state for newly seen servers. Because server state is first read then written returning 0 if state is not present during read makes it impossible for write to happen therefore effectively blocking any state updates https://github.com/needs/teerank/commit/bd0658460bf1dae734953d70955876fdfd159c34#diff-0235f01a49d01b35e981a41f59a9d2d6R40
This PR also fixes left-out assertions that weren't removed in the said commit and adds vim generated .swp files in .gitignore.