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

Change subject: [clock] declare 'system_unsync' time source as unsafe
......................................................................

[clock] declare 'system_unsync' time source as unsafe

Since it's now possible to run Kudu clusters with the 'system_unsync'
time source, it makes sense to build a guardrail to prevent selecting
'system_unsync' for --time_source unless unsafe flags are enabled
(i.e. --unlock_unsafe_flags set).  This is to prevent using
unsynchronized local clocks in production clusters.

While I'm here, I did the same for the 'mock' time source: it's
targeted for tests only.

Change-Id: I26e7cb8185a7a01bcc397a582572bfaa0d28b3b4
Reviewed-on: http://gerrit.cloudera.org:8080/15188
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
M src/kudu/client/client_examples-test.sh
M src/kudu/clock/hybrid_clock.cc
2 files changed, 23 insertions(+), 0 deletions(-)

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

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I26e7cb8185a7a01bcc397a582572bfaa0d28b3b4
Gerrit-Change-Number: 15188
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Volodymyr Verovkin <[email protected]>

Reply via email to