Re: Unique bug in ceph start script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mo, Apr 22, 2013 at 08:39:03 -0700, Sage Weil wrote:

Hi Sage,

...
> Thanks for the report!  I think this doesn't quite solve the problem, 
> though.  If all the items for a given target are processed in order, then 
> $unique will be correct, but if you get hosta, hostb, hosta then it will 
> be wrong.
...

sorry, but I don't recognize why it would be wrong:

Applying my patch the code would do the following:

1. hosta:
   Create ceph.conf.uniq1, copy it to hosta and use
   ceph.conf.uniq1.

2. hostb:
   Create ceph.conf.uniq2, copy it to hostb and use
   ceph.conf.uniq2.

3. hosta:
   Create ceph.conf.uniq3, copy it to hosta and use
   ceph.conf.uniq3.

So in this example two config files with different names but the same
content would be copied to hosta. This is not very pretty but it 
should work without error.

Andreas
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux