** Changed in: tarantool
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Tarantool
Development Team, which is subscribed to tarantool.
https://bugs.launchpad.net/bugs/1200228

Title:
  box.auto_increment counter resets

Status in Tarantool - an efficient in-memory data store:
  Fix Released

Bug description:
  When inserting more than 256 keys with box.auto_increment it inserts tuple 
with repeated first key.
  Problem seems to be in index:max() op, that simply takes rightest leaf in the 
tree.
  Problem can be reproduced with:
  for i = 1, 1024 do
      box.insert(0, i, i)
      print(box.space[0].index[0].idx:max())
  end
  Output is:
  ---
  (...)
  251: {251}
  252: {252}
  253: {253}
  254: {254}
  255: {255}
  255: {255}
  255: {255}
  (...)
  255: {255}
  255: {255}
  511: {511}
  511: {511}
  (...)
  ---

To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1200228/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to