diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-04-01 15:59:10 +0200 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-04-01 15:59:10 +0200 |
commit | df755138e47d1ded561800978875e59094c4b1b4 (patch) | |
tree | b6f6f7bc0259a15b5f11902e2d58c8c994e5a17e /vespaclient-container-plugin | |
parent | 14bb8f3c745f9b153e289ff62b38c911966ea32b (diff) |
Deprecate DocumentAPI methods using explicit operation priority
This is functionality that made more sense when we had spinning drives
and no async write scheduling in the backend. Going away on Vespa 8.
Diffstat (limited to 'vespaclient-container-plugin')
-rw-r--r-- | vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java b/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java index 66955be2325..784575cd001 100644 --- a/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java +++ b/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java @@ -240,6 +240,7 @@ class ClientFeederV3 { return message; } + @SuppressWarnings("removal") // TODO: Remove on Vespa 8 private void setMessageParameters(DocumentOperationMessageV3 msg, FeederSettings settings) { msg.getMessage().setContext(new ReplyContext(msg.getOperationId(), feedReplies)); if (settings.traceLevel != null) { @@ -249,7 +250,7 @@ class ClientFeederV3 { try { DocumentProtocol.Priority priority = DocumentProtocol.Priority.valueOf(settings.priority); if (msg.getMessage() instanceof DocumentMessage) { - ((DocumentMessage) msg.getMessage()).setPriority(priority); + ((DocumentMessage) msg.getMessage()).setPriority(priority); // TODO: Remove on Vespa 8 } } catch (IllegalArgumentException i) { |