I guess that you use different types of indexes on your hosts (HASH on
amd64 and TREE on i386)

TREE index supports both box.select(0) and 
box.space[x]:index[y]:iterator(box.index.ALL) without a key.
box.select() in this case returns all tuples from a space. The number of 
returned tuples is limited only by Lua stack size.
If a result set is too large then Lua raises "Lua error: stack overflow (call: 
out of stack)" error.
See https://bugs.launchpad.net/tarantool/+bug/1018775

HASH index does not support box.select() and
box.space[x]:index[y]:iterator(box.index.ALL)  without a key. Lua raises
"Partial key in an exact match (key field count: ..." error in this
case.

stable x86_64:
localhost> lua box.select()
---
error: 'Partial key in an exact match (key field count: 0, expected: 1)'

master x86_64:
localhost> lua box.select()
---
error: 'Partial key in an exact match (key field count: 0, expected: 1)'

stable i386:
localhost> lua box.select()
---
error: 'Partial key in an exact match (key field count: 0, expected: 1)'

master i386:
localhost> lua box.select()
---
error: 'Partial key in an exact match (key field count: 0, expected: 1)'


** Changed in: tarantool
       Status: New => Invalid

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

Title:
  current version returns different errors on different architectures

Status in Tarantool - an efficient in-memory data store:
  Invalid

Bug description:
  After gcc-4.7 patches tarantool began returning different errors on
  different architectures:

  if you call 'box.select()' (without arguments):
   on amd64 You receive an error: "Partial key in an exact match (key field 
count: ..."
  but on i386 You receive an error: "Lua error: stack overflow (call: out of 
stack)"

  both architectures returned the same errors until gcc4.7 patches

To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1021177/+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