Difference between revisions of "Elasticsearch.helpers.errors.BulkIndexError"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  [[elasticsearch]].helpers.errors.BulkIndexError: ('1 document(s) [[failed to index]].', [{'update': {'[[_index]]': 'your_watchlist_record', '_type': '_doc', '_id': .../..)
+
  [[elasticsearch.helpers]].errors.BulkIndexError: ('1 document(s) [[failed to index]].', [{'update': {'[[_index]]': 'your_watchlist_record', '_type': '_doc', '_id': .../..)
  
 
  elasticsearch.helpers.errors.BulkIndexError: ('1 document(s) failed to index.', [{'update': {'_index': 'watchlist_record', '_type': '_doc', '_id': .../... , 'status': [[409]], 'error': {'type': '[[version_conflict_engine_exception]]', 'reason': 'XXXXX: [[version conflict, required seqNo]] [1090261855], primary term [1058]. current document has seqNo [1090269199] and primary term [1058]', '[[index_uuid]]': '-WF9g37sRDa-9R_123456', 'shard': '0', 'index': 'watchlist_record'}, 'data': {'.../... 'updated_at': datetime.datetime(2022, 9, 26, 23, 3, 39, 431844)}}}}])
 
  elasticsearch.helpers.errors.BulkIndexError: ('1 document(s) failed to index.', [{'update': {'_index': 'watchlist_record', '_type': '_doc', '_id': .../... , 'status': [[409]], 'error': {'type': '[[version_conflict_engine_exception]]', 'reason': 'XXXXX: [[version conflict, required seqNo]] [1090261855], primary term [1058]. current document has seqNo [1090269199] and primary term [1058]', '[[index_uuid]]': '-WF9g37sRDa-9R_123456', 'shard': '0', 'index': 'watchlist_record'}, 'data': {'.../... 'updated_at': datetime.datetime(2022, 9, 26, 23, 3, 39, 431844)}}}}])

Revision as of 06:41, 27 September 2022

elasticsearch.helpers.errors.BulkIndexError: ('1 document(s) failed to index.', [{'update': {'_index': 'your_watchlist_record', '_type': '_doc', '_id': .../..)
elasticsearch.helpers.errors.BulkIndexError: ('1 document(s) failed to index.', [{'update': {'_index': 'watchlist_record', '_type': '_doc', '_id': .../... , 'status': 409, 'error': {'type': 'version_conflict_engine_exception', 'reason': 'XXXXX: version conflict, required seqNo [1090261855], primary term [1058]. current document has seqNo [1090269199] and primary term [1058]', 'index_uuid': '-WF9g37sRDa-9R_123456', 'shard': '0', 'index': 'watchlist_record'}, 'data': {'.../... 'updated_at': datetime.datetime(2022, 9, 26, 23, 3, 39, 431844)}}}}])


Related

conflicts=proceed
refresh=wait_for
_update_by_query [1]

See also

  • https://github.com/elastic/elasticsearch/issues/22723#issuecomment-274156818
  • Advertising: