Skip to content

Assertion failure when trying to set net.box watcher on Tarantool < 2.10 server #6819

@locker

Description

@locker

Tarantool version:

  • client: 2.10.0-beta2-70-g5adc02f623f8
  • server: any version that doesn't have IPROTO_WATCH; tested on 2.8.2-83-gbba7a2fadd22

Steps to reproduce:

Server:

Tarantool 2.8.2-83-gbba7a2fadd22
type 'help' for interactive help
tarantool> box.cfg{listen = 3301, log_level = 4}
2022-01-31 14:32:25.280 [71292] main/103/interactive C> Tarantool 2.8.2-83-gbba7a2fadd22
2022-01-31 14:32:25.281 [71292] main/103/interactive C> log level 4
---
...

tarantool> 2022-01-31 14:32:44.313 [71292] iproto iproto.cc:1313 E> ER_UNKNOWN_REQUEST_TYPE: Unknown request type 74

Client:

Tarantool 2.10.0-beta2-55-g2b975e499a46
type 'help' for interactive help
tarantool> c = require('net.box').connect(3301)
---
...

tarantool> c:watch('foo', function() end)
---
- net.box.watcher
...

tarantool> tarantool: /home/vlad/src/tarantool/tarantool/src/box/lua/net_box.c:2283: netbox_transport_dispatch_response: Assertion `transport->inprogress_request_count > 0' failed.
Aborted

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions