From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Bronnikov <sergeyb@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit 2/3] Restore state when recording __concat metamethod throws OOM.
Date: Tue, 11 Mar 2025 15:37:12 +0300 [thread overview]
Message-ID: <Z9AueLaSoDSruQJz@root> (raw)
In-Reply-To: <5760221d-71f0-4443-8b77-3da6bb412931@tarantool.org>
Hi, Sergey!
Thanks for the review!
Fixed your comment and force-pushed the branch.
On 11.03.25, Sergey Bronnikov wrote:
> Hi, Sergey,
>
> thanks for the patch! LGTM with a minor comment below.
>
> Sergey
>
> On 10.03.2025 17:51, Sergey Kaplun wrote:
<snipped>
> > +local bigstr = string.rep('x', ALLOC_LIMIT)
> > +local __concat = function()
> > + return 'concated'
> s/concated/concatenated/
Fixed, thanks:
===================================================================
diff --git a/test/tarantool-tests/lj-1298-oom-on-concat-recording.test.lua b/test/tarantool-tests/lj-1298-oom-on-concat-recording.test.lua
index 961df798..20d93c43 100644
--- a/test/tarantool-tests/lj-1298-oom-on-concat-recording.test.lua
+++ b/test/tarantool-tests/lj-1298-oom-on-concat-recording.test.lua
@@ -20,7 +20,7 @@ local ALLOC_LIMIT = 2048
local bigstr = string.rep('x', ALLOC_LIMIT)
local __concat = function()
- return 'concated'
+ return 'concatenated'
end
-- Need to use metamethod call in the concat recording.
===================================================================
I've also checked that this is not ruined the testcase.
>
>
> <snipped>
--
Best regards,
Sergey Kaplun
next prev parent reply other threads:[~2025-03-11 12:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-10 14:51 [Tarantool-patches] [PATCH luajit 0/3] Fixes for the concat metamethod Sergey Kaplun via Tarantool-patches
2025-03-10 14:51 ` [Tarantool-patches] [PATCH luajit 1/3] test: unify helpers for a custom allocator setting Sergey Kaplun via Tarantool-patches
2025-03-11 11:32 ` Sergey Bronnikov via Tarantool-patches
2025-03-11 12:38 ` Sergey Kaplun via Tarantool-patches
2025-03-11 14:45 ` Sergey Bronnikov via Tarantool-patches
2025-03-10 14:51 ` [Tarantool-patches] [PATCH luajit 2/3] Restore state when recording __concat metamethod throws OOM Sergey Kaplun via Tarantool-patches
2025-03-11 12:01 ` Sergey Bronnikov via Tarantool-patches
2025-03-11 12:37 ` Sergey Kaplun via Tarantool-patches [this message]
2025-03-11 14:46 ` Sergey Bronnikov via Tarantool-patches
2025-03-10 14:51 ` [Tarantool-patches] [PATCH luajit 3/3] Fix state restore when recording __concat metamethod Sergey Kaplun via Tarantool-patches
2025-03-12 7:53 ` Sergey Bronnikov via Tarantool-patches
2025-03-13 10:28 ` Sergey Kaplun via Tarantool-patches
2025-03-14 10:53 ` Sergey Bronnikov via Tarantool-patches
2025-03-26 8:55 ` [Tarantool-patches] [PATCH luajit 0/3] Fixes for the concat metamethod Sergey Kaplun via Tarantool-patches
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=Z9AueLaSoDSruQJz@root \
--to=tarantool-patches@dev.tarantool.org \
--cc=sergeyb@tarantool.org \
--cc=skaplun@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH luajit 2/3] Restore state when recording __concat metamethod throws OOM.' \
/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