Alexey Serbin has uploaded this change for review. ( 
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
---
M src/kudu/clock/hybrid_clock.cc
1 file changed, 21 insertions(+), 0 deletions(-)



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

Reply via email to