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 1p0FUa-0005R2-1K for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Nov 2022 05:18:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p0FUY-0004Iz-Jq for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Nov 2022 05:18:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p0FUX-0004Iq-Rx for pgsql-hackers@lists.postgresql.org; Wed, 30 Nov 2022 05:18:42 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p0FUT-0003Qx-DA for pgsql-hackers@postgresql.org; Wed, 30 Nov 2022 05:18:40 +0000 Received: by mail-pj1-x102b.google.com with SMTP id 3-20020a17090a098300b00219041dcbe9so848811pjo.3 for ; Tue, 29 Nov 2022 21:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=aTPdFKoMo7YRlp8dovii2yPM5de1iBO6ddumF4IOO+0=; b=W3ph9VjurO2CELFl5F7gzKXGY4NdatwdUKJ9+nrmcqzM4hYnM+c31CDboDFuOOjJ2u yaLyw5gI+oKvzTThFMny4A2iU4e7Ks2WLMTizPZgIcydku4P4knuKxbWKQ5Fv9SJXnzQ 6gptwuTZXcbGyY9zQcXTq0Sy2wVOZzFrBd9Fa8m6T7Jan1yLZP1TL+nnpJxiV2jhFpZ1 E5jzimuxnerBBEHUhmSBeSYWjtC6jPYmxJo8NKbeg+XsyAbz0idMdNxkvydGdoy3cW83 SB5+40Lkl8cLr4CrnE3PHyrzlv/mRW2oFTuOH1Y2mDY+OMgXJA/ZaptRNEVJ37MPWvh4 m7FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aTPdFKoMo7YRlp8dovii2yPM5de1iBO6ddumF4IOO+0=; b=6IRqMJdb8KiTh7BclHONdvjVAELnp9/6xnnS7UWbeZTMoC8lyGRHd9D4IQOOdAQtXl RoO3mjY65zH/xjNVR27TNpqioMv0/KdcNtIwlBrMFioRC9MycSXiCLjDseDKpUG1Duve Jv6oO7olwD/94iZ/Tdmbc7+zOh9Mom5OAIyjSbcVEmcmxoy3q6E2mlJ5CWaXVEZvi/+I +1+V2DMXOTEkr+z249uOtPd09MrnXyRku+HOge21X0bnjO/8lNADlEoYpmJevoZlJZf6 WPHlKpGzPa11/8di1iXLtv2Ta9IKyRriuUOyFHU9e2YVy36fqn9tLvwnDVI7FM4Jv3WP g8LQ== X-Gm-Message-State: ANoB5pnGOMBe4MAAVQ+PT6OKiQIuABRUfeGvbrNtoX6SRdwavAWVaFmR ZkAz1/wmnOeK7sno44ujMho= X-Google-Smtp-Source: AA0mqf6ofhc9WPbaLx8Fl5Oh/Gma49zQ/swrlpShPxaIqIaZ9txOFJt5MhyML39eiU8T4xgcmyE9UA== X-Received: by 2002:a17:902:e48a:b0:189:63f2:d58f with SMTP id i10-20020a170902e48a00b0018963f2d58fmr26714481ple.161.1669785516223; Tue, 29 Nov 2022 21:18:36 -0800 (PST) Received: from nathanxps13 ([50.47.162.83]) by smtp.gmail.com with ESMTPSA id 76-20020a62174f000000b0056da073b2b7sm380218pfx.210.2022.11.29.21.18.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 21:18:35 -0800 (PST) Date: Tue, 29 Nov 2022 21:18:33 -0800 From: Nathan Bossart To: Simon Riggs Cc: Robert Haas , Andres Freund , "Bossart, Nathan" , Bharath Rupireddy , Maxim Orlov , Amul Sul , Bruce Momjian , "pgsql-hackers@postgresql.org" Subject: Re: O(n) tasks cause lengthy startups and checkpoints Message-ID: <20221130051833.GB1677223@nathanxps13> References: <20221106223842.GA620653@nathanxps13> <20221124001907.GA576983@nathanxps13> <20221127233434.GA878043@nathanxps13> <20221128183129.ip3g5vrcbjrngpp2@awork3.anarazel.de> <20221128234039.GA1119654@nathanxps13> <20221130035653.GA1594993@nathanxps13> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <20221130035653.GA1594993@nathanxps13> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 29, 2022 at 07:56:53PM -0800, Nathan Bossart wrote: > On Tue, Nov 29, 2022 at 12:02:44PM +0000, Simon Riggs wrote: >> The last important point for me is tests, in src/test/modules >> probably. It might be possible to reuse the final state of other >> modules' tests to test cleanup, or at least integrate a custodian test >> into each module. > > Of course. I found some existing tests for the test_decoding plugin that > appear to reliably generate the files we want the custodian to clean up, so > I added them there. cfbot is not happy with v16. AFAICT this is just due to poor placement, so here is another attempt with the tests moved to a new location. Apologies for the noise. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com --ew6BAiZeqk4r7MaW Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v17-0001-Introduce-custodian.patch"