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 1p0EDZ-0001cR-Ce for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Nov 2022 03:57:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p0EDY-0001Nf-93 for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Nov 2022 03:57:04 +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 1p0EDX-0001NW-GY for pgsql-hackers@lists.postgresql.org; Wed, 30 Nov 2022 03:57:03 +0000 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p0EDT-0002gP-6I for pgsql-hackers@postgresql.org; Wed, 30 Nov 2022 03:57:02 +0000 Received: by mail-pg1-x533.google.com with SMTP id v3so14946141pgh.4 for ; Tue, 29 Nov 2022 19:56:59 -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=PXcFNOypW59IB7vL0rCbT0uyLk5e9dsHQSyC1c9rdQs=; b=LyAMPE7XIAPtvGKFjQ7vBqscSpUdSzdW/cf4KDy7ebeKIIGEIKVxG1cQfrG3WXnpGQ lrFL3g+yl8MmryFrvx0fQTd6WQnoJGOfzUUEqei8RJo/n6P+oj5+kP6WWz/mVQ18ixTX USduJGIKSxDKJXuK4UOXiQY8tVzpfQQ84gfCcW/YEHH2cwQC9sOSpJ0kMMKwuSJsnk1v kbF6rwEg3jCJVXHDWKGwooHU0btsRYhoS431lf+TzUwdCMUXcyjqAmHTAU2MCkOOtD06 TsGievRVLQyQpOpYumSZWWemQ7bAlbvQ4TJVwm6njiQKOcDmlis+8CVPPXii+ZO3Fpa0 Rycg== 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=PXcFNOypW59IB7vL0rCbT0uyLk5e9dsHQSyC1c9rdQs=; b=7krAtsdc03bIfOANFyTlcz1bq2BBTZ/6d2dRlOfEvSg9dWcGPWohhMDBZcZPGZ/bAH IH2owJyC6PyfSE/s/C/0LDhGq6USJWpmXx2DxIWsU8JrUvoZ6O2rsQWupwZMNWDmmq20 RIwCNvG2BI+NrpNEaF+oRKyXm9lg+Ie5uR3WXtJFhxQjtB/pKDcmtNu9Xr/WbtaL44td TF1LqPaTq2uzVUKG/ZeWe7aLys5MDk4zNS/SKpstZeRDs3S0jkXyBcTbviYmGphozhVT Nr26LTqRJ3r4klKLpj9VmHNAfrDYe4phPhS7J0BQseYzLy/6bxl9OAqgYR9RvC8V52tm zX6Q== X-Gm-Message-State: ANoB5pm85ZUry0mvZCXglK+FgZvki+Kz2Btr2T47Uimw5VzT8QoX+eWV LF+zHeL8XId37U3pvC1igbk= X-Google-Smtp-Source: AA0mqf7arcEVigckq4JXiq5hUGF6i+ycYx+imMd276fvMdSqosdi/ucr/t8+wGPMwl/VH4Woj6apsA== X-Received: by 2002:a63:d516:0:b0:477:857d:d264 with SMTP id c22-20020a63d516000000b00477857dd264mr34473696pgg.224.1669780617488; Tue, 29 Nov 2022 19:56:57 -0800 (PST) Received: from nathanxps13 ([50.47.162.83]) by smtp.gmail.com with ESMTPSA id c10-20020a170902c1ca00b0018991f3bfb2sm131518plc.3.2022.11.29.19.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 19:56:56 -0800 (PST) Date: Tue, 29 Nov 2022 19:56:53 -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: <20221130035653.GA1594993@nathanxps13> References: <20220923174154.GA1111614@nathanxps13> <20221106223842.GA620653@nathanxps13> <20221124001907.GA576983@nathanxps13> <20221127233434.GA878043@nathanxps13> <20221128183129.ip3g5vrcbjrngpp2@awork3.anarazel.de> <20221128234039.GA1119654@nathanxps13> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com --lrZ03NoBR/3+SXJZ Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v16-0001-Introduce-custodian.patch"