Description
Context:
In OPT-2438 we fixed a bug that was caused by one writer not adhering to the behavior of the other writers (throwing an exception if there were bulk failures).
AT:
- general bulk logic is extracted to a generic implementation reused by all writers, this includes the following aspects:
- loop to create bulk request
- check for hasFailures and throwing an exception if there were failures