Skip to content

Commit d22b687

Browse files
authored
Revert bulk response back to without error response (opensearch-project#256)
* Revert bulk response back to without error response Signed-off-by: xil <fridalu66@gmail.com> * changelog Signed-off-by: xil <fridalu66@gmail.com> --------- Signed-off-by: xil <fridalu66@gmail.com>
1 parent 0cd8fc4 commit d22b687

2 files changed

Lines changed: 1 addition & 19 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
77
- Add .pyi type hints to the python wheel ([#253](https://github.com/opensearch-project/opensearch-protobufs/pull/253))
88

99
### Changed
10-
10+
- Revert bulk response back to without error response ([#256](https://github.com/opensearch-project/opensearch-protobufs/pull/256))
1111
### Removed
1212

1313
### Fixed

protos/schemas/document.proto

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -184,25 +184,7 @@ message DeleteOperation {
184184
}
185185

186186
// todo: Proposal Spec this name
187-
// Bulk response contains the individual results of each operation in the request, returned in the order submitted. The success or failure of an individual operation does not affect other operations in the request.
188187
message BulkResponse {
189-
oneof response {
190-
// The bulk success response
191-
BulkResponseBody bulk_response_body = 1;
192-
// The bulk error response
193-
BulkErrorResponse bulk_error_response = 2;
194-
}
195-
}
196-
197-
message BulkErrorResponse {
198-
// [optional] The bulk error
199-
optional Error error = 1;
200-
// [optional] HTTP response status code
201-
optional int32 status = 2;
202-
}
203-
204-
message BulkResponseBody {
205-
206188
// [required] If true, one or more of the operations in the bulk request did not complete successfully.
207189
bool errors = 1;
208190
// [required] Contains the result of each operation in the bulk request, in the order they were submitted.

0 commit comments

Comments
 (0)