Unverified Commit 5d09e191 authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

bugfix: read at the end of file

parent 0ff4ee03
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -469,6 +469,9 @@ static hg_return_t rpc_srv_read_data(hg_handle_t handle) {
        }
        assert(task_read_size != nullptr);
        if(*task_read_size < 0){
            if(-(*task_read_size) == ENOENT) {
                continue;
            }
            ADAFS_DATA->spdlogger()->warn(
                    "{}() Read task failed for chunk {}",
                    __func__, chnk_id_curr);