Re: [ceph-users] Python get_stats() gives wrong number of objects?

2017-01-30 Thread Kent Borg
On 01/30/2017 11:32 AM, John Spray wrote: Is an object's existence and value synchronous? Yep. Makes sense, as hashing is at the core of this design. Thanks for the super fast response! -kb ___ ceph-users mailing list ceph-users@lists.ceph.com ht

Re: [ceph-users] Python get_stats() gives wrong number of objects?

2017-01-30 Thread John Spray
On Mon, Jan 30, 2017 at 4:22 PM, Kent Borg wrote: > On 01/30/2017 11:20 AM, John Spray wrote: >> >> Pool stats are not synchronous -- when you call get_stats it is not >> querying every OSD in the system before giving you a response. > > Ah! > > Is an object's existence and value synchronous? Yep

Re: [ceph-users] Python get_stats() gives wrong number of objects?

2017-01-30 Thread Kent Borg
On 01/30/2017 11:20 AM, John Spray wrote: Pool stats are not synchronous -- when you call get_stats it is not querying every OSD in the system before giving you a response. Ah! Is an object's existence and value synchronous? Thanks, -kb ___ ceph-u

Re: [ceph-users] Python get_stats() gives wrong number of objects?

2017-01-30 Thread John Spray
On Mon, Jan 30, 2017 at 4:06 PM, Kent Borg wrote: > I have been playing with the Python version of librados and am getting > startling answers from get_stats() on a pool. I am seeing 'num_objects' as > zero at a point where I am expecting one. But if I loop, waiting for my > expected one, I will g

[ceph-users] Python get_stats() gives wrong number of objects?

2017-01-30 Thread Kent Borg
I have been playing with the Python version of librados and am getting startling answers from get_stats() on a pool. I am seeing 'num_objects' as zero at a point where I am expecting one. But if I loop, waiting for my expected one, I will get it in a second or so. I think I created this object