diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2021-05-18 16:29:48 +0200 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2021-05-18 16:29:48 +0200 |
commit | 380b78bb4dd288978ad3b07b19c21ddecddde51e (patch) | |
tree | a9e353e3f727a8b57fe6ce41bf3c2e70c2c75dc7 /vespa-feed-client | |
parent | 7c5d7415e423dbfed3e5a893e9b161217a18b81e (diff) |
Empty map of concurrent ops when op is still the last for id on completion
Diffstat (limited to 'vespa-feed-client')
-rw-r--r-- | vespa-feed-client/src/main/java/com/yahoo/vespa/feed/client/HttpRequestStrategy.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vespa-feed-client/src/main/java/com/yahoo/vespa/feed/client/HttpRequestStrategy.java b/vespa-feed-client/src/main/java/com/yahoo/vespa/feed/client/HttpRequestStrategy.java index 7d6571a3e6c..db6bc8d21fe 100644 --- a/vespa-feed-client/src/main/java/com/yahoo/vespa/feed/client/HttpRequestStrategy.java +++ b/vespa-feed-client/src/main/java/com/yahoo/vespa/feed/client/HttpRequestStrategy.java @@ -150,6 +150,8 @@ class HttpRequestStrategy implements RequestStrategy<SimpleHttpResponse>, HttpRe releaseSlot(); if (thrown == null) success(); + + byId.compute(documentId, (id, current) -> current == vessel ? null : current); }); } |