public inbox for [email protected]  
help / color / mirror / Atom feed
From: Amit Kapila <[email protected]>
To: Peter Geoghegan <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Cc: Robert Haas <[email protected]>
Subject: Re: Hash index bucket split bug
Date: Thu, 9 Jul 2026 16:15:17 +0530
Message-ID: <CAA4eK1+pd3T8ULEF6P-9AzpTCdWMG+ciWYopa+9xjj-urEwmRg@mail.gmail.com> (raw)
In-Reply-To: <CAH2-Wz=4CJK9ysZzbzxBGGTkgAg9ib8cJyCx=9q_d1r8tf0ang@mail.gmail.com>
References: <CAH2-Wz=4CJK9ysZzbzxBGGTkgAg9ib8cJyCx=9q_d1r8tf0ang@mail.gmail.com>

On Thu, Jul 9, 2026 at 2:10 AM Peter Geoghegan <[email protected]> wrote:
>
> Both tests are useful in their own way. The regression test runs
> quickly and so might be worth committing alongside the fix -- but it
> depends on leaving behind an incomplete split. The isolation test
> demonstrates that the bug doesn't hinge upon an incomplete split. The
> incomplete split case is particularly nasty, though, because the
> potential for wrong answers persists until an inserter completes the
> split.
>

I am getting following regression diff even after applying the patch:
-step s1_split: <... completed>
 step s2_scan:
     SELECT count(*) FROM hash_split_test
      WHERE v = (SELECT k FROM hash_split_key);
@@ -68,3 +67,4 @@
    11
 (1 row)

I will review the code later.

-- 
With Regards,
Amit Kapila.






view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Hash index bucket split bug
  In-Reply-To: <CAA4eK1+pd3T8ULEF6P-9AzpTCdWMG+ciWYopa+9xjj-urEwmRg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox