Wow, somehow I had started to reply to this but must have tossed the draft.

I don't think the Python client ever prevented creation of identical links,
it has always been a list. What changed from 1.5.x to 2.x was that we treat
links as tuples now, they are not wrapped in the RiakLink class.


On Thu, Nov 21, 2013 at 8:27 PM, Matt Black <matt.bl...@jbadigital.com>wrote:

> Thanks Brian, I suspected it was a constraint applied in the client tools
> (although in my case the Python ones).
>
>
> On 22 November 2013 13:05, Brian Roach <ro...@basho.com> wrote:
>
>> Matt -
>>
>> This has never been a restriction in Riak itself AFAIK. I fixed the
>> same issue in the Java client over a year ago - it was using a hashmap
>> for links so duplicates were discarded;
>> https://github.com/basho/riak-java-client/pull/165
>>
>> - Roach
>>
>> On Thu, Nov 21, 2013 at 7:00 PM, Matt Black <matt.bl...@jbadigital.com>
>> wrote:
>> > Apologies for the bump!
>> >
>> > Basho guys, can I get a confirmation on the uniqueness of links between
>> two
>> > objects please? (Before I go an modify the code in my app to suit)
>> >
>> > Thanks
>> > Matt
>> >
>> >
>> >
>> > On 19 November 2013 14:31, Matt Black <matt.bl...@jbadigital.com>
>> wrote:
>> >>
>> >> Hello list,
>> >>
>> >> Once upon a time, a link from one object to another was unique - you
>> >> couldn't add two links from object A onto object B. I know this as I
>> had to
>> >> code around it in our app.
>> >>
>> >> At some stage that limitation has been removed - in either the Python
>> >> bindings or Riak itself.
>> >>
>> >> Can anyone else confirm this? Basho peeps, are non-unique links the
>> >> intended behaviour?
>> >>
>> >> Thanks
>> >> Matt Black
>> >>
>> >
>> >
>> > _______________________________________________
>> > riak-users mailing list
>> > riak-users@lists.basho.com
>> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>> >
>>
>
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>


-- 
Sean Cribbs <s...@basho.com>
Software Engineer
Basho Technologies, Inc.
http://basho.com/
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to