Hi Folks,

Curious about the --refresh argument on this command (and similar). From 
experience so far, and a bit of a code read, it seems that:

  *
Passing --refresh will kick the serve loop to run.
  *
It won't wait for it to complete, so data returned may not be the latest.
  *
Re-running the "ceph orch ls" command soon after may or may not return the 
latest data, depending on if the serve loop has completed.
  *
The serve loop will run once every N seconds anyway (looks like 60 for me, 
which I assume is the default?) so data shouldn't be more than a minute out of 
date in normal operation.

Is that an accurate understanding?

I'm looking to use this command in some scripts so would like to be sure I 
understand what I am doing.

Thanks,
Alex
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to