Chad has submitted this change and it was merged.

Change subject: Do not cache container information in process
......................................................................


Do not cache container information in process

Different configurations can make this more obvious than others.
With this process caching, snapshots can end up not being properly
written since Elasticsearch can't get all of the metadata about
what it just wrote.

Change-Id: I9852c6b601992c57b3d71127f29021ad5411920e
---
M src/main/java/org/wikimedia/elasticsearch/swift/repositories/SwiftService.java
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Chad: Verified; Looks good to me, approved



diff --git 
a/src/main/java/org/wikimedia/elasticsearch/swift/repositories/SwiftService.java
 
b/src/main/java/org/wikimedia/elasticsearch/swift/repositories/SwiftService.java
index 2366184..00d8a1f 100644
--- 
a/src/main/java/org/wikimedia/elasticsearch/swift/repositories/SwiftService.java
+++ 
b/src/main/java/org/wikimedia/elasticsearch/swift/repositories/SwiftService.java
@@ -86,6 +86,7 @@
                conf.setUsername(username);
                conf.setPassword(password);
                conf.setAuthenticationMethod(method);
+               conf.setAllowContainerCaching(false);
                return conf;
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/155303
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9852c6b601992c57b3d71127f29021ad5411920e
Gerrit-PatchSet: 2
Gerrit-Project: search/repository-swift
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to