It had been suggested that bulk operations may enable this, which is partially the case. For example, it appears that failure mid-insertion of a chunk will mean none of that chunk is inserted, but in cases where multiple chunks are required, some chunks may still be uploaded.
This is still considerably neater, as we can add options to set the request_timeout and size, and potentially tell users explicitly how much data was uploaded.
If operations (insertion, deletion) fail, we want to handle this gracefully. Ideally we would be able to rollback changes, but this does not appear to be possible directly through OpenSearch.
It had been suggested that bulk operations may enable this, which is partially the case. For example, it appears that failure mid-insertion of a chunk will mean none of that chunk is inserted, but in cases where multiple chunks are required, some chunks may still be uploaded.
This is still considerably neater, as we can add options to set the
request_timeout
andsize
, and potentially tell users explicitly how much data was uploaded.