Closed mattjala closed 1 year ago
REST VOL used to send a PUT request with an empty body when a 0-element write occurred, which would result in a 400 error from the server.
Now it skips the request if the body is size 0.
A more involved workaround may be needed if parallelism is implemented, since coordination might rely on each worker completing an I/O request.
This fixes the REST VOL's failure on the "creation of 0-sized dataset" from vol-tests.
REST VOL used to send a PUT request with an empty body when a 0-element write occurred, which would result in a 400 error from the server.
Now it skips the request if the body is size 0.
A more involved workaround may be needed if parallelism is implemented, since coordination might rely on each worker completing an I/O request.
This fixes the REST VOL's failure on the "creation of 0-sized dataset" from vol-tests.