directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: TXN work update
Date Thu, 03 Nov 2011 15:52:07 GMT
On 11/3/11 4:44 PM, Selcuk AYA wrote:
> On Wed, Nov 2, 2011 at 12:15 PM, Alex Karasulu<akarasulu@apache.org>  wrote:
>> On Wed, Nov 2, 2011 at 10:12 AM, Selcuk AYA<ayaselcuk@gmail.com>  wrote:
>>> Hi,
>>> a few points and questions:
>>> *I am planning to use a common ID for all partitions. I checked Hbase
>>> partition and it uses UUID as the ID. Is it ok to use this for all
>>> partitions?
>>>
>> This great and something we wanted to do for a very long time as Emmanuel
>> stated.
> I am working on JDBM and AVL partitions to make them usee UUID. Also I
> am making partitions expose their master tabe and indices. For making
> all partitions use UUID:
> * I can  change partitions to work with UUID directly  and make them
> return master tables as MasterTable<Entry,UUID>  and index tables in a
> similar way
> *or I can paratmetrize partition interface like Partition<ID>  . They
> can return master table as<MasterTable,ID>  and index tables in a
> similar way. This is looks to me the right way but it eventually leads
> to more changes.
>
> which one do you think is better?

Let's not use generic when it's not needed...


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com


Mime
View raw message