Re: Cosmic ray hits integerset

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Cosmic ray hits integerset
Date: 2021-06-22 14:21:19
Message-ID: 202106221421.vdpzdeox3u43@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021-Jun-22, Thomas Munro wrote:

> Hi,
>
> Here's a curious one-off failure in test_integerset:
>
> +ERROR: iterate returned wrong value; got 519985430528, expected 485625692160

Cosmic rays indeed. The base-2 representation of the expected value is
111000100010001100011000000000000000000
and that of the actual value is
111100100010001100011000000000000000000

There's a single bit of difference.

--
Álvaro Herrera Valdivia, Chile
"No hay hombre que no aspire a la plenitud, es decir,
la suma de experiencias de que un hombre es capaz"

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2021-06-22 14:40:26 Re: Cosmic ray hits integerset
Previous Message Alexander Pyhalov 2021-06-22 13:39:43 Re: Case expression pushdown