Skip to content

Commit

Permalink
Add refresh to delete
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Apr 3, 2024
1 parent eacba52 commit a395108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/charms/opensearch/v0/opensearch_locking.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def release(self):
try:
self._opensearch.request(
"DELETE",
endpoint=f"/{self._OPENSEARCH_INDEX}/_doc/0",
endpoint=f"/{self._OPENSEARCH_INDEX}/_doc/0?refresh=true",
host=host,
alt_hosts=self._charm.alt_hosts,
retries=3,
Expand Down

0 comments on commit a395108

Please sign in to comment.