Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14999


Change subject: [master] KUDU-3036 reject DDLs that leads to DoS conditions
......................................................................

[master] KUDU-3036 reject DDLs that leads to DoS conditions

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

Added a test to reproduce the KUDU-3036 scenario.  In the test scenario,
the size of incoming AlterTable RPC is much less than the would-be-sent
UpdateConsensus RPC for the corresponding update of the system catalog
tablet (about 75KBytes).

Change-Id: I7c212b635313a0aec5d9ebf8329319bae47f2dd2
---
M src/kudu/integration-tests/master-stress-test.cc
M src/kudu/master/catalog_manager.cc
M src/kudu/master/sys_catalog.cc
M src/kudu/master/sys_catalog.h
4 files changed, 80 insertions(+), 33 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/99/14999/1
--
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: newchange
Gerrit-Change-Id: I7c212b635313a0aec5d9ebf8329319bae47f2dd2
Gerrit-Change-Number: 14999
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to