My understanding is that are going to be using rados_mon_command() to create 
pools according to Tracker #7586: deprecate rados_pool_create.  What I found 
when building a test case for EC is that after using the mon_command to create 
the pool I need to use wait_for_latest_osdmap() in order to wait for the change 
to propagate.  The replicated pool test case using pool_create() doesn’t need 
to wait_for_latest_osdmap().

Should we be deprecating librados calls in favor of the very generic 
mon_command() interface?  I would suggest that we add the appropriate librados 
features to manipulate erasure coded pools.

David Zafman
Senior Developer
http://www.inktank.com

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

Reply via email to