Skip to content

box.atomic mangles plain errors #11823

@locker

Description

@locker

Reported by @vanyarock01.

This is how it used to work:

tarantool> pcall(box.atomic, function() error({a=2}) end)
---
- false
- a: 2
...
10.3.0.100:10011> _TARANTOOL
---
- 2.10.8-0-g4472d9247 

This is how it works now:

tarantool> pcall(box.atomic, function() error({a=2}) end)
---
- false
- 'table: 0x01069b6110'
...
tarantool> _TARANTOOL
---
- 3.4.0-0-g123ed47
...

Looks like the bug was introduced in 4175ab0 (3.2.0).

Metadata

Metadata

Assignees

Labels

3.2Target is 3.2 and all newer release/master branches3.3Target is 3.3 and all newer release/master branches3.4Target is 3.4 and all newer release/master branches3.5Target is 3.5 and all newer release/master branchesbugSomething isn't workingregression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions