KeDeng has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/19047 )

Change subject: KUDU-3326 [master] add improvement on interpreting the 
'reserve_seconds' field for DeleteRPC
......................................................................


Patch Set 13:

(9 comments)

http://gerrit.cloudera.org:8080/#/c/19047/12//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/19047/12//COMMIT_MSG@10
PS12, Line 10: a new
> nit: a
Done


http://gerrit.cloudera.org:8080/#/c/19047/12/src/kudu/client/client-test.cc
File src/kudu/client/client-test.cc:

http://gerrit.cloudera.org:8080/#/c/19047/12/src/kudu/client/client-test.cc@5358
PS12, Line 5358: The
> nit: The
Done


http://gerrit.cloudera.org:8080/#/c/19047/5/src/kudu/client/client.h
File src/kudu/client/client.h:

http://gerrit.cloudera.org:8080/#/c/19047/5/src/kudu/client/client.h@747
PS5, Line 747:                                uint32_t reserve_seconds = 0) 
KUDU_NO_EXPORT;
> Done
I'm sorry I failed to change this because this will make python UT fail.


http://gerrit.cloudera.org:8080/#/c/19047/12/src/kudu/client/client.cc
File src/kudu/client/client.cc:

http://gerrit.cloudera.org:8080/#/c/19047/12/src/kudu/client/client.cc@513
PS12, Line 513:  param 'reserve
> The api doesn't exist 'reserve_seconds', should comments be changed?
It's a default param, I will make it clear.


http://gerrit.cloudera.org:8080/#/c/19047/12/src/kudu/master/catalog_manager.cc
File src/kudu/master/catalog_manager.cc:

http://gerrit.cloudera.org:8080/#/c/19047/12/src/kudu/master/catalog_manager.cc@2414
PS12, Line 2414:   if (s.IsNotFound()) {
               :     return DeleteTableRpc(req, resp, rpc);
               :   }
> Table is not found,  execute DeleteTableRpc for the table?  Maybe it's triv
Beacuse we do not authorsize the request. The result should not be exposed to 
unauthenticated users.


http://gerrit.cloudera.org:8080/#/c/19047/12/src/kudu/master/catalog_manager.cc@2429
PS12, Line 2429: == 0
> How about   req.reserve_seconds() < 0?
The reserve_seconds is uint32 type, so the judgement is enough.


http://gerrit.cloudera.org:8080/#/c/19047/12/src/kudu/master/master.proto
File src/kudu/master/master.proto:

http://gerrit.cloudera.org:8080/#/c/19047/12/src/kudu/master/master.proto@589
PS12, Line 589: a new
> nit: a
Done


http://gerrit.cloudera.org:8080/#/c/19047/12/src/kudu/tools/tool_action_table.cc
File src/kudu/tools/tool_action_table.cc:

http://gerrit.cloudera.org:8080/#/c/19047/12/src/kudu/tools/tool_action_table.cc@202
PS12, Line 202: soft_table_rese
> reserve_time_s, soft_table_reserve_time_s ?
Done


http://gerrit.cloudera.org:8080/#/c/19047/12/src/kudu/tools/tool_action_table.cc@204
PS12, Line 204: it would be purged when a table is drop
> It would be purged when a table is dropped/deleted.
Done



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I604caf5d7326e27acd6d626b482376fc6eed1b0f
Gerrit-Change-Number: 19047
Gerrit-PatchSet: 13
Gerrit-Owner: KeDeng <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: KeDeng <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Yuqi Du <[email protected]>
Gerrit-Comment-Date: Fri, 04 Nov 2022 09:17:58 +0000
Gerrit-HasComments: Yes

Reply via email to