No error for a duplicate key

Bug #702395 reported by Kostja Osipov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tarantool
Fix Released
Medium
Kostja Osipov

Bug Description

Tarantool does not return an error when one tries to insert a tuple whose key is already present in the namespace.
It does not indicate whether or not the tuple already existed in any other way.
Either produce an error, or change the protocol to indicate whether or not a tuple was inserted into the namespace.

Kostja Osipov (kostja)
Changed in tarantool:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Kostja Osipov (kostja) wrote :

There is actually BOX_ADD flag, which turns REPLACE into INSERT.
This has been tested as part of Lua activity.

Changed in tarantool:
status: Confirmed → Fix Released
importance: Wishlist → Medium
assignee: nobody → Kostja Osipov (kostja)
milestone: none → 1.4.3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.