Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes bug 988604 - Removed async replication mode in elasticsearch in…

…dexing.
  • Loading branch information...
commit 3ac24eae30995ff2ec6fbc904cb351d419d0a5d1 1 parent 6493522
Adrian Gaudebert AdrianGaudebert authored
1  socorro/external/elasticsearch/crashstorage.py
View
@@ -167,7 +167,6 @@ def _submit_crash_to_elasticsearch(self, crash_id, crash_document):
es_doctype,
crash_document,
id=crash_id,
- replication='async'
)
except pyelasticsearch.exceptions.ConnectionError:
self.logger.critical('%s may not have been submitted to '
4 socorro/unittest/external/elasticsearch/test_crashstorage.py
View
@@ -176,7 +176,6 @@ def test_success(self, pyes_mock):
)
expected_request_kwargs = {
'id': crash_id,
- 'replication': 'async',
}
mock_es.index.assert_called_with(
@@ -234,7 +233,6 @@ def test_failure_no_retry(self, pyes_mock):
expected_crash
)
expected_request_kwargs = {
- 'replication': 'async',
'id': crash_id,
}
@@ -297,7 +295,6 @@ def test_failure_limited_retry(self, pyes_mock):
expected_crash
)
expected_request_kwargs = {
- 'replication': 'async',
'id': crash_id,
}
@@ -367,7 +364,6 @@ def esindex_fn(*args, **kwargs):
expected_crash
)
expected_request_kwargs = {
- 'replication': 'async',
'id': crash_id,
}
Please sign in to comment.
Something went wrong with that request. Please try again.