Skip to content

router.call by cdata bucket_id causes fullscan and memory leak #594

@d-enk

Description

@d-enk
vshard.router.bucket_count() -- 1024
require("fun").length(pairs(vshard.router.internal.static_router.route_map)) -- 1024
vshard.router.callrw(1ULL, "assert", {"OK"}) -- OK
require("fun").length(pairs(vshard.router.internal.static_router.route_map)) -- 1025
vshard.router.callrw(1ULL, "assert", {"OK"}) -- OK
require("fun").length(pairs(vshard.router.internal.static_router.route_map)) -- 1026

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions