From: Kirill Shcherbatov <kshcherbatov@tarantool.org> To: tarantool-patches@freelists.org, v.shpilevoy@tarantool.org Cc: alexander.turenko@tarantool.org, kostja@tarantool.org, Kirill Shcherbatov <kshcherbatov@tarantool.org> Subject: [tarantool-patches] [PATCH v1 0/3] box: stacked diagnostics area in fiber Date: Thu, 1 Aug 2019 14:13:25 +0300 [thread overview] Message-ID: <cover.1564657285.git.kshcherbatov@tarantool.org> (raw) Support stacked diagnostics for Tarantool allows to accumulate all occurred errors during processing a request. This allows to better understand what has happened and handle errors correspondingly. http://github.com/tarantool/tarantool/tree/kshch/gh-1148-stacked-errors https://github.com/tarantool/tarantool/issues/1148 Kirill Shcherbatov (3): box: rfc for stacked diagnostic area in Tarantool box: stacked diagnostics area in fiber box: extend ffi error object API src/box/error.h | 23 +++ src/lib/core/diag.h | 45 ++++- src/lib/core/exception.h | 2 +- src/box/key_list.c | 16 +- src/box/lua/call.c | 6 +- src/box/vy_scheduler.c | 6 +- src/lib/core/diag.c | 1 + src/lua/utils.c | 2 +- doc/rfc/1148-stacked-diagnostics.md | 136 ++++++++++++++ extra/exports | 2 + src/box/applier.cc | 2 +- src/box/error.cc | 27 ++- src/box/relay.cc | 4 +- src/lib/core/exception.cc | 2 +- src/lua/error.lua | 75 +++++++- test/app/fiber.result | 12 +- test/box/access.result | 2 +- test/box/access.test.lua | 2 +- test/box/errors.result | 265 ++++++++++++++++++++++++++++ test/box/errors.test.lua | 53 ++++++ test/box/misc.result | 12 +- test/engine/func_index.result | 65 ++++++- test/engine/func_index.test.lua | 4 + 23 files changed, 713 insertions(+), 51 deletions(-) create mode 100644 doc/rfc/1148-stacked-diagnostics.md create mode 100644 test/box/errors.result create mode 100644 test/box/errors.test.lua -- 2.22.0
next reply other threads:[~2019-08-01 11:13 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-08-01 11:13 Kirill Shcherbatov [this message] 2019-08-01 11:13 ` [tarantool-patches] [PATCH v1 1/3] box: rfc for stacked diagnostic area in Tarantool Kirill Shcherbatov 2019-08-05 21:16 ` [tarantool-patches] " Vladislav Shpilevoy [not found] ` <06bd2140-3d2b-4bc3-7bc4-5f3d293bf891@tarantool.org> 2019-08-06 20:50 ` Vladislav Shpilevoy 2019-08-07 23:27 ` Alexander Turenko 2019-08-08 20:46 ` Vladislav Shpilevoy 2019-08-08 23:29 ` Alexander Turenko 2019-08-09 19:25 ` Vladislav Shpilevoy 2019-08-12 20:35 ` Konstantin Osipov 2019-08-01 11:13 ` [tarantool-patches] [PATCH v1 2/3] box: stacked diagnostics area in fiber Kirill Shcherbatov 2019-08-05 21:16 ` [tarantool-patches] " Vladislav Shpilevoy 2019-08-01 11:13 ` [tarantool-patches] [PATCH v1 3/3] box: extend ffi error object API Kirill Shcherbatov 2019-08-05 21:18 ` [tarantool-patches] " Vladislav Shpilevoy 2019-08-06 7:56 ` Kirill Shcherbatov 2019-08-06 20:50 ` Vladislav Shpilevoy 2019-08-08 23:33 ` Alexander Turenko 2019-08-09 19:27 ` Vladislav Shpilevoy
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=cover.1564657285.git.kshcherbatov@tarantool.org \ --to=kshcherbatov@tarantool.org \ --cc=alexander.turenko@tarantool.org \ --cc=kostja@tarantool.org \ --cc=tarantool-patches@freelists.org \ --cc=v.shpilevoy@tarantool.org \ --subject='Re: [tarantool-patches] [PATCH v1 0/3] box: stacked diagnostics area in fiber' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox