From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Dillaman Subject: Re: blueprint: consistency groups Date: Wed, 27 Apr 2016 12:50:19 -0500 Message-ID: References: <20160325071933.GA14634@gmail.com> Reply-To: dillaman@redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-pa0-f50.google.com ([209.85.220.50]:34645 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753384AbcD0RuU (ORCPT ); Wed, 27 Apr 2016 13:50:20 -0400 Received: by mail-pa0-f50.google.com with SMTP id r5so22143239pag.1 for ; Wed, 27 Apr 2016 10:50:20 -0700 (PDT) In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Victor Denisov Cc: Gregory Farnum , Mykola Golub , ceph-devel , Josh Durgin On Tue, Apr 26, 2016 at 6:33 PM, Victor Denisov wrote: > One quick question: is image id unique across all pools? I'm > referencing image using 'image_' key and then keeping pool > id in the omap value. > Is it safe? No -- the image id is only guaranteed to be unique within the pool that owns the image. You can use the pool id in combination with the image id to form a unique key. -- Jason