Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhFhm-0004LK-Bz for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Jun 2020 17:00:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jhFhl-0000pW-3Q for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Jun 2020 17:00:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhFhk-0000pO-Np for pgsql-bugs@lists.postgresql.org; Fri, 05 Jun 2020 17:00:28 +0000 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jhFhg-0004Vw-0a for pgsql-bugs@lists.postgresql.org; Fri, 05 Jun 2020 17:00:28 +0000 Received: by mail-qk1-x735.google.com with SMTP id v79so10348228qkb.10 for ; Fri, 05 Jun 2020 10:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jepsen-io.20150623.gappssmtp.com; s=20150623; h=subject:cc:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=XbJfZBh5RW5oR4ryJUTqiq06WE7A+yWE38JG2K5xAMo=; b=o3Ce1XffFZ62argIpgxzGby8sl1XEFMrXd8W/LIKRIpvxiW8JaADZek8DauTmsTGr1 +I7yZG4ATrJLgWbLL9X3Q3MmftZ6UCMrK+6RGkgbDWqlVMdj9GedqV5iZ+JK/rTzbsKh KK4APdrne+1urZYrBPMkss2Ij7/ubaQTlRKYKGpJv6HNsiqXt7gwIuIN77ON97L1Wq9F TEGoAjyI+gOanBe6YPmXpzd1LZGz+t85P1Jp8N/kRppz0WhA0KEz+DUdEHEuwsITXKQU Fs2CFxJGxiLQQPTY3Mzk3GkFRnuwMpQtx1mQJKRwBevUn5AxbM0lhJMpM3h3OVPlZulK c9Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=XbJfZBh5RW5oR4ryJUTqiq06WE7A+yWE38JG2K5xAMo=; b=myrPxMLp6schFSkZf0CLEVMVRDFrJjzdlOW2PQf1iqOwwm3Wum09uWv9k770XCbNQ/ zaGj1Gx8JpZ2fPYL3lhyW39wuSLk4uNnoWyuK5vJ69+isy4gANsgBHI1EYBaoI6cuK13 7e7NRyv6KPHnMMaHgVAjbXbHMuMgp0z+ByQMBEAnD+stn2/yPgRd1iRWBj6Jw0WVFvy8 AycNnLqovDrB2RnQq6BXm1Dj7Q8t8R2rv3B49RoF7dtmQAEjSrmPiw0ZHYeqcMz2zyxL dQlJxibcKNivDzoSAKbt+ALx8pn5ev3VbjocNsTCGczZXt0Bq5BZRjRuHr566dqb462N Uong== X-Gm-Message-State: AOAM531bkoxAPa/7nHGrURaTy0EmH7BCIiegDzfDKQZf1KOv54D/D6Xf vZ8IqX6gZ2eJpfGIdF9+1G5lGar3FrM= X-Google-Smtp-Source: ABdhPJwEjYqt8hOIo33W5y5j0kEd4mCaqbfk0xkO9WLpk1ELNuEph9EskRLoFojj3qAV/pcfP+gmSA== X-Received: by 2002:a37:a147:: with SMTP id k68mr10715840qke.62.1591376420028; Fri, 05 Jun 2020 10:00:20 -0700 (PDT) Received: from ?IPv6:2600:2b00:9456:5a00:eefd:c7f2:32e7:8e9b? ([2600:2b00:9456:5a00:eefd:c7f2:32e7:8e9b]) by smtp.gmail.com with ESMTPSA id f127sm269800qkj.61.2020.06.05.10.00.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Jun 2020 10:00:18 -0700 (PDT) Subject: Re: Potential G2-item cycles under serializable isolation Cc: PostgreSQL mailing lists References: <80e772f7-a46d-7bfd-28d0-4017bf5cd2e5@jepsen.io> From: Kyle Kingsbury Message-ID: <01d04cfe-6eeb-543b-4a11-b1c42e904e42@jepsen.io> Date: Fri, 5 Jun 2020 13:00:18 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk After staring at a few hundred of these anomalies, I'm more confident: this problem seems to involve a transaction which fails to observe a logically prior transaction's *insert*. So far we never see a cycle involving all updates rw deps--there's always 2+ rw deps, and at least one involves the initial state. Maybe this helps narrow down the search! --Kyle