Public bug reported:

init.lua
------------
box.insert(0, 2, 4, 8, 16)
box.insert(0, 2, 4, 8, 16)
------------

------------
2013-01-13 12:41:00.756 [8582] 1/sched D> wal_schedule: unlocking &writer->mutex
2013-01-13 12:41:00.756 [8582] 101/init.lua D> tuple_alloc(20) = 0x7fbe8f8000a0
2013-01-13 12:41:00.756 [8582] 101/init.lua D> ClientError at 
src/box/hash_index.m:366
2013-01-13 12:41:00.756 [8582] 101/init.lua D> tuple_free(0x7fbe8f8000a0)
2013-01-13 12:41:00.756 [8582] 101/init.lua F> C++ exception <!-- HERE
2013-01-13 12:41:00.756 [8582] 101/init.lua D> wal_writer_stop: locking 
&writer->mutex
2013-01-13 12:41:00.756 [8582] 101/init.lua D> wal_writer_stop: unlocking 
&writer->mutex
2013-01-13 12:41:00.756 [8582] 1/sched D> wal_writer_thread: locking 
&writer->mutex
------------

The ClientError exception should be passed to upper levels.

** Affects: tarantool
     Importance: Undecided
         Status: New

** Description changed:

- init.lua 
+ init.lua
  ------------
  box.insert(0, 2, 4, 8, 16)
  box.insert(0, 2, 4, 8, 16)
  ------------
  
  ------------
  2013-01-13 12:41:00.756 [8582] 1/sched D> wal_schedule: unlocking 
&writer->mutex
  2013-01-13 12:41:00.756 [8582] 101/init.lua D> tuple_alloc(20) = 
0x7fbe8f8000a0
- 2013-01-13 12:41:00.756 [8582] 101/init.lua D> ClientError at 
/docs/Projects/Personal/tarantool-master/src/box/hash_index.m:366
+ 2013-01-13 12:41:00.756 [8582] 101/init.lua D> ClientError at 
src/box/hash_index.m:366
  2013-01-13 12:41:00.756 [8582] 101/init.lua D> tuple_free(0x7fbe8f8000a0)
  2013-01-13 12:41:00.756 [8582] 101/init.lua F> C++ exception <!-- HERE
  2013-01-13 12:41:00.756 [8582] 101/init.lua D> wal_writer_stop: locking 
&writer->mutex
  2013-01-13 12:41:00.756 [8582] 101/init.lua D> wal_writer_stop: unlocking 
&writer->mutex
  2013-01-13 12:41:00.756 [8582] 1/sched D> wal_writer_thread: locking 
&writer->mutex
  ------------
  
  The ClientError exception should be passed to upper levels.

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

Title:
  Incorrect exception handling in lua startup script

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

Bug description:
  init.lua
  ------------
  box.insert(0, 2, 4, 8, 16)
  box.insert(0, 2, 4, 8, 16)
  ------------

  ------------
  2013-01-13 12:41:00.756 [8582] 1/sched D> wal_schedule: unlocking 
&writer->mutex
  2013-01-13 12:41:00.756 [8582] 101/init.lua D> tuple_alloc(20) = 
0x7fbe8f8000a0
  2013-01-13 12:41:00.756 [8582] 101/init.lua D> ClientError at 
src/box/hash_index.m:366
  2013-01-13 12:41:00.756 [8582] 101/init.lua D> tuple_free(0x7fbe8f8000a0)
  2013-01-13 12:41:00.756 [8582] 101/init.lua F> C++ exception <!-- HERE
  2013-01-13 12:41:00.756 [8582] 101/init.lua D> wal_writer_stop: locking 
&writer->mutex
  2013-01-13 12:41:00.756 [8582] 101/init.lua D> wal_writer_stop: unlocking 
&writer->mutex
  2013-01-13 12:41:00.756 [8582] 1/sched D> wal_writer_thread: locking 
&writer->mutex
  ------------

  The ClientError exception should be passed to upper levels.

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