Re: omap functions in librados.h

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

 





On 08/17/2012 09:54 PM, Gregory Farnum wrote:
On Fri, Aug 17, 2012 at 12:36 PM, Wido den Hollander <wido@xxxxxxxxx> wrote:
Hi,

I'm looking for the omap functions in librados.h, but they only seem to be
implemented in librados.hpp?

I want to store about 6000 objects in a RADOS pool, but I want to give them
some attributes I can query for, this should be possible with the omap
functionality, shouldn't it?
What do you mean, query for? You can look at an object and ask if it
has "foo=bar" in its omap, but you can't say "give me all objects with
'foo=bar'".


Ah, I must have understood that differently. I thought that leveldb was added so you could give objects attributes you could query.

So yes: "Give me all objects that have foo=bar"

I thought I saw some discussion regarding this.

Any ideas besides setting up a own external database with this information?

Wido


Do to this I want to use phprados, but that is using the C-functions, so
that's why I'm asking.

Has this been forgotten or is there something blocking it?
It'll probably be inconvenient as always due to memory management, but
it's not blocked by anything that I'm aware of.
-Greg
--
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

--
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