Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/14999 )

Change subject: [master] KUDU-3036 reject DDLs which would lead to DoS
......................................................................

[master] KUDU-3036 reject DDLs which would lead to DoS

With this patch, masters reject DDL requests which would lead to DoS
situations described in KUDU-3036.

Added a test scenario to reproduce KUDU-3036.  In the scenario, the size
of incoming AlterTable RPC is much less than the size of would-be-sent
UpdateConsensus RPC to update the system catalog correspondingly.

Change-Id: I7c212b635313a0aec5d9ebf8329319bae47f2dd2
Reviewed-on: http://gerrit.cloudera.org:8080/14999
Reviewed-by: Adar Dembo <[email protected]>
Tested-by: Kudu Jenkins
---
M src/kudu/integration-tests/master_replication-itest.cc
M src/kudu/master/sys_catalog-test.cc
M src/kudu/master/sys_catalog.cc
M src/kudu/master/sys_catalog.h
M src/kudu/rpc/serialization.cc
M src/kudu/rpc/transfer.cc
6 files changed, 203 insertions(+), 6 deletions(-)

Approvals:
  Adar Dembo: Looks good to me, approved
  Kudu Jenkins: Verified

--
To view, visit http://gerrit.cloudera.org:8080/14999
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7c212b635313a0aec5d9ebf8329319bae47f2dd2
Gerrit-Change-Number: 14999
Gerrit-PatchSet: 5
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to