All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joao Eduardo Luis <joao@suse.de>
To: Sage Weil <sweil@redhat.com>, "Adam C. Emerson" <aemerson@redhat.com>
Cc: Gregory Farnum <gfarnum@redhat.com>,
	The Sacred Order of the Squid Cybernetic
	<ceph-devel@vger.kernel.org>
Subject: Re: A Transformation of our Global Context
Date: Sat, 11 Jun 2016 00:57:23 +0100	[thread overview]
Message-ID: <575B53E3.90102@suse.de> (raw)
In-Reply-To: <alpine.DEB.2.11.1606101651280.6221@cpach.fuggernut.com>

On 06/10/2016 09:53 PM, Sage Weil wrote:
> On Fri, 10 Jun 2016, Adam C. Emerson wrote:
>> On 10/06/2016, Sage Weil wrote:
>>> FWIW the time thing is a bit of a red herring.  The only reason time takes
>>> cct is for the configuration clock skew.  That was added for debugging
>>> purposes but has never (to my knowledge) been used.  I'd be happy to rip
>>> it out.
>>
>> I wasn't aware of that. I'd asked once if the clock skew debug option
>> was really important (back with the original time patch) and was told
>> it was. The person I was talking to might have thought I was talking
>> about monitor clock skew or something.
>
> Ah, there is *one* teuthology test that sets this:
>
> $ git grep clock\ offset | cat
> suites/rados/multimon/tasks/mon_clock_with_skews.yaml:        clock offset: 10
>
> I'd be quite happy to drop this test, or kludge around it some other way
> (e.g., put a mon on a different host and change the system time), if it
> saves us as much code churn as I suspect it will...

i've been hacking a mon debug interface via the ceph tool to test 
features and do all sorts of nasty things (provided a given experimental 
feature is enabled and the user is really, really sure about it), and I 
think we could then use it to test clock skews just as well. It'd be a 
matter of telling a given monitor to just skew the response to the 
leader during the timecheck round.

   -Joao


  reply	other threads:[~2016-06-10 23:57 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-10 18:50 A Transformation of our Global Context Adam C. Emerson
2016-06-10 19:47 ` Gregory Farnum
2016-06-10 19:58   ` Adam C. Emerson
2016-06-10 20:06     ` Gregory Farnum
2016-06-10 20:15       ` Adam C. Emerson
2016-06-10 20:40         ` Sage Weil
2016-06-10 20:45           ` Adam C. Emerson
2016-06-10 20:53             ` Sage Weil
2016-06-10 23:57               ` Joao Eduardo Luis [this message]
2016-06-10 20:38       ` Sage Weil
2016-06-10 21:04         ` Adam C. Emerson
2016-06-10 21:20           ` Sage Weil
2016-06-10 22:51             ` Adam C. Emerson
2016-11-11 21:31             ` Yehuda Sadeh-Weinraub
2016-11-11 22:17               ` Bassam Tabbara
2016-11-11 22:53                 ` Yehuda Sadeh-Weinraub
2016-11-11 23:29                   ` Bassam Tabbara
2016-11-11 23:45                     ` Sage Weil
2016-11-11 23:51                       ` Bassam Tabbara
2016-11-12  0:33                     ` Matt Benjamin
2016-11-12  0:40                       ` Bassam Tabbara
2016-11-12  2:37                         ` Matt Benjamin
2016-11-14 16:10                       ` Adam C. Emerson
     [not found]                   ` <BLUPR0301MB200478F7C6DC349474A0B5F8A7BB0@BLUPR0301MB2004.namprd03.prod.outlook.com>
2016-11-14 16:08                     ` Adam C. Emerson
2016-06-10 20:28     ` Allen Samuels
2016-06-10 20:43       ` Adam C. Emerson
2016-06-10 22:38         ` Allen Samuels
2016-06-10 22:44           ` Adam C. Emerson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=575B53E3.90102@suse.de \
    --to=joao@suse.de \
    --cc=aemerson@redhat.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=gfarnum@redhat.com \
    --cc=sweil@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.