[ ] NOT_RESPONSIBLE is used by the storage server to respond to requests that could not be processed by the respective server because the requested key is not within its range. If the server creates such a message, it also has to send the current meta-data attached with the message. Such messages should not be passed back to the client application but invoke a retry operation of the client library. Define a suitable representation (e.g., a Map) for the meta-data that you keep consistent throughout all components of the whole system (i.e., KVStore, KVServer and ECS). This data structure maps the addresses of storage nodes to the respective hash-ranges. Extend your message format to incorporate this data if the server has to answer with NOT_RESPONSIBLE.
[ ] SERVER_WRITE_LOCK indicates that the storage server is currently blocked for write requests due to reallocation of data in case of joining or leaving storage nodes.
[ ] SERVER_STOPPED indicates that currently no requests are processed by the server since the whole storage service is under initialization. Hence, from the client’s perspective the server is stopped for serving requests.
[ ] NOT_RESPONSIBLE is used by the storage server to respond to requests that could not be processed by the respective server because the requested key is not within its range. If the server creates such a message, it also has to send the current meta-data attached with the message. Such messages should not be passed back to the client application but invoke a retry operation of the client library. Define a suitable representation (e.g., a Map) for the meta-data that you keep consistent throughout all components of the whole system (i.e., KVStore, KVServer and ECS). This data structure maps the addresses of storage nodes to the respective hash-ranges. Extend your message format to incorporate this data if the server has to answer with NOT_RESPONSIBLE.
[ ] SERVER_WRITE_LOCK indicates that the storage server is currently blocked for write requests due to reallocation of data in case of joining or leaving storage nodes.
[ ] SERVER_STOPPED indicates that currently no requests are processed by the server since the whole storage service is under initialization. Hence, from the client’s perspective the server is stopped for serving requests.
related #70