Skip to content
Snippets Groups Projects
Commit 9e9144e5 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Remove server registration from vclock

* Remove vclock_add_server()/vclock_has() - servers are implicitly
  registered in vclock->map on the first request
* As result, lsn == 0 is never exist in vclock
* box.info.vclock[server_id] returns nil instead of 0 even if
  server_id was registered in _cluster, but hasn't sent any rows
* Soften ER_UNKNOWN_SERVER checks for unregistered server_id
* Fix buggy ER_MISSING_SNAPSHOT logic
* Add missing "error.h" includes
parent 5cbc5b9e
No related branches found
No related tags found
No related merge requests found
Showing
with 71 additions and 107 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment