Grant Henke has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/16698


Change subject: KUDU-1563. Add a feature flag for IGNORE operations
......................................................................

KUDU-1563. Add a feature flag for IGNORE operations

This patch adds a master server feature flag to indicate that the cluster
supports `IGNORE` operations. This includes INSERT_IGNORE, DELETE_IGNORE,
and UPDATE_IGNORE. Though this is technically a tserver feature, it is
unreasonable to check if every tablet server supports this feature.
Instead we use the master as a proxy.

In the future KUDU-3211 will add more complete cluster feature flag support.

Additionality this patch leverages the feature flag in the Java client on a
PingRequest to implement a `supportsIgnoreOperations()` method. This
functionality will be used in follow on patches to add ignore operation support
to the Spark and Backup integrations in a compatible way.

Change-Id: I329bd8bde73d247240ae597b677e2cc20a92343a
---
M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
M java/kudu-client/src/main/java/org/apache/kudu/client/PingRequest.java
M java/kudu-client/src/test/java/org/apache/kudu/client/TestAsyncKuduClient.java
M src/kudu/master/master.proto
M src/kudu/master/master_service.cc
5 files changed, 83 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/98/16698/1
--
To view, visit http://gerrit.cloudera.org:8080/16698
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I329bd8bde73d247240ae597b677e2cc20a92343a
Gerrit-Change-Number: 16698
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <granthe...@apache.org>

Reply via email to