From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> To: Kirill Yukhin <kyukhin@tarantool.org> Cc: tarantool-patches@freelists.org Subject: [tarantool-patches] Re: [PATCH] Set format for spaces with sysview engine Date: Thu, 18 Apr 2019 14:39:12 +0300 [thread overview] Message-ID: <ed409198-1fbb-8c6e-2331-bd55d4e0ffba@tarantool.org> (raw) In-Reply-To: <20190418111411.hl4okehi6adv6pvi@tarantool.org> On 18/04/2019 14:14, Kirill Yukhin wrote: > Hello, > > On 18 апр 13:43, Vladislav Shpilevoy wrote: >> Hi! Thanks for the fixes! See 4 comments below. >> >> 1. Now I see that sysview tuple format leaks. Please, >> apply this diff: >> >> ====================================================== >> diff --git a/src/box/sysview.c b/src/box/sysview.c >> index 0b07c9f4a..96c5e78ca 100644 >> --- a/src/box/sysview.c >> +++ b/src/box/sysview.c >> @@ -545,6 +545,8 @@ sysview_engine_create_space(struct engine *engine, struct space_def *def, >> free(space); >> return NULL; >> } >> + /* Format is now referenced by the space. */ >> + tuple_format_unref(format); >> return space; >> } >> ====================================================== > > Done. > > Branch force-pushed and re-tested. How was it retested? [024] Test failed! Result content mismatch: [024] --- wal_off/alter.result Thu Apr 18 14:36:14 2019 [024] +++ wal_off/alter.reject Thu Apr 18 14:37:03 2019 [024] @@ -28,7 +28,7 @@ [024] ... [024] #spaces; [024] --- [024] -- 65488 [024] +- 65505 [024] ... [024] -- cleanup [024] for k, v in pairs(spaces) do [024] Looks like some of the previously leaking formats are back in the pool, good. > > -- > Regards, Kirill Yukhin >
next prev parent reply other threads:[~2019-04-18 11:39 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-04-15 13:35 [tarantool-patches] " Kirill Yukhin 2019-04-16 15:13 ` [tarantool-patches] " Vladislav Shpilevoy 2019-04-17 8:13 ` Kirill Yukhin 2019-04-17 10:11 ` Vladislav Shpilevoy 2019-04-18 8:16 ` Kirill Yukhin 2019-04-18 10:43 ` Vladislav Shpilevoy 2019-04-18 11:14 ` Kirill Yukhin 2019-04-18 11:39 ` Vladislav Shpilevoy [this message] 2019-04-18 12:08 ` Kirill Yukhin 2019-04-18 12:43 ` Vladislav Shpilevoy 2019-04-18 13:25 ` Kirill Yukhin 2019-04-18 14:18 ` Konstantin Osipov 2019-04-19 11:46 ` Kirill Yukhin 2019-04-20 22:36 ` Alexander Turenko 2019-04-21 17:06 ` Vladislav Shpilevoy 2019-04-21 18:19 ` Konstantin Osipov 2019-04-18 14:16 ` Konstantin Osipov 2019-04-17 13:38 ` Konstantin Osipov 2019-04-18 8:23 ` Kirill Yukhin 2019-04-19 11:38 ` Kirill Yukhin
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=ed409198-1fbb-8c6e-2331-bd55d4e0ffba@tarantool.org \ --to=v.shpilevoy@tarantool.org \ --cc=kyukhin@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='[tarantool-patches] Re: [PATCH] Set format for spaces with sysview engine' \ /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