Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/2] Module is not unloaded on function drop
@ 2019-11-26 23:29 Vladislav Shpilevoy
  2019-11-26 23:29 ` [Tarantool-patches] [PATCH 1/2] errinj: provide 'get' method in Lua Vladislav Shpilevoy
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Vladislav Shpilevoy @ 2019-11-26 23:29 UTC (permalink / raw)
  To: tarantool-patches, kostja.osipov

The patchset fixes a problem when a C function, added via
box.schema.func.create(), is dropped, but its dynamic library is not unloaded
from the process' memory.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-4648-func-unload
Issue: https://github.com/tarantool/tarantool/issues/4648

Vladislav Shpilevoy (2):
  errinj: provide 'get' method in Lua
  func: fix not unloading of unused modules

 src/box/func.c                             |  16 +--
 src/box/func.h                             |   2 -
 src/box/lua/error.cc                       |  37 ++++--
 src/lib/core/errinj.h                      |   1 +
 test/box/errinj.result                     |  55 +++++++++
 test/box/errinj.test.lua                   |  17 +++
 test/box/function1.c                       |  15 +++
 test/box/gh-4648-func-load-unload.result   | 137 +++++++++++++++++++++
 test/box/gh-4648-func-load-unload.test.lua |  63 ++++++++++
 test/box/suite.ini                         |   2 +-
 10 files changed, 326 insertions(+), 19 deletions(-)
 create mode 100644 test/box/gh-4648-func-load-unload.result
 create mode 100644 test/box/gh-4648-func-load-unload.test.lua

-- 
2.21.0 (Apple Git-122.2)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-12-19  4:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26 23:29 [Tarantool-patches] [PATCH 0/2] Module is not unloaded on function drop Vladislav Shpilevoy
2019-11-26 23:29 ` [Tarantool-patches] [PATCH 1/2] errinj: provide 'get' method in Lua Vladislav Shpilevoy
2019-11-27  8:35   ` Konstantin Osipov
2019-11-26 23:29 ` [Tarantool-patches] [PATCH 2/2] func: fix not unloading of unused modules Vladislav Shpilevoy
2019-11-27  8:41   ` Konstantin Osipov
2019-11-27 22:24     ` Vladislav Shpilevoy
2019-12-10 14:22 ` [Tarantool-patches] [PATCH 0/2] Module is not unloaded on function drop Kirill Yukhin
2019-12-11 21:36   ` Alexander Turenko
2019-12-11 22:33   ` Vladislav Shpilevoy
2019-12-19  4:50 ` Kirill Yukhin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox