Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u4zMK-00ATXb-3K for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Apr 2025 09:47:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u4zMH-00Auv0-JU for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Apr 2025 09:47:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u4zMH-00Auur-54 for pgsql-hackers@lists.postgresql.org; Wed, 16 Apr 2025 09:47:06 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u4zMF-000Lj9-2J for pgsql-hackers@lists.postgresql.org; Wed, 16 Apr 2025 09:47:05 +0000 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-54b09cb06b0so6813807e87.1 for ; Wed, 16 Apr 2025 02:47:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744796822; x=1745401622; darn=lists.postgresql.org; 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=i8XpHEhPfJN2RQC0DwYPYuQhj9nfOA7Ab/HaRqIc0eE=; b=BQUjwADrMjfwmHDUsS6/r4kP7HyCtC3KnzqlHxpz40FIKFTyFDEm64YkNzihgq2Txa EgdPtnCv9An9XU0BnbsTBmprz1xwp0Lvo1a+SGeTzGb5iwEF0HRtB3VbAHXtpaRqeZBG t2m2GrHmfVI6C6Y7CMs3Uo2AaNhSfrSR3cN+7rvt3ZV/w5Zbn0SwaOh4hj/D8q2PPGol w2dreuwkTLorR2TkX5p4u5RhjQq/FZddunm+BTJL/N8ZxnWs7ia9v4XlSCGtGp+8XpYm zZlbRgozcVLF50eLK/AjS1FQ3pfaQTuanvxRyIxFSEoRUHRMg13DHOKfADGE9Lu5T/Al aDvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744796822; x=1745401622; 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=i8XpHEhPfJN2RQC0DwYPYuQhj9nfOA7Ab/HaRqIc0eE=; b=U8hPsX0n7Da4sgWBSPMmMaYNHOB8/RXXoy3iMRw4q6NGMKYBrU1WvazYQj5+lkCQXE 1TR6zxVVztYJ8swbrNicvY09sCsiC5jdJ/WaZxnaG3LkUwcs6qi2x2si8+4oct69PYPD m92rX8PXkv0mDE3b4aYubrqnEOJirk+JJ4+kpyogeVzk1vqniH4okW6OFjgQOLse1gwt IFoe3vl99UMQeROH1n/8/v194tFial4YsfL45DLl+GCpeVwLeIykTLQsd2feckA6Pmes aID2cstajsBMvBdsfq72AjSOmdyMtXsW2OBJdN337k9x9mvXxKNHkNhkbRuxo9raaPNL MCUw== X-Forwarded-Encrypted: i=1; AJvYcCWnNKWz1pqkvUK4rr/eG/IIWEGh6L5K6XJKX1P/rcjhAGkGPZ/v0vCcTbh3BylEI4OzwsxbeGqKUiK9DpKd@lists.postgresql.org X-Gm-Message-State: AOJu0YxXm+5tmT7MzcJQZDsnu6Xi53ClSpD6tgCGCAb+C5/Iz+GJZalt WCXMpNprtNdeONH8Umxv20Hpbuz4lU7pCibIKdRPZjAGyUYVCRML5GiDrZLJKw== X-Gm-Gg: ASbGncs844OIeEBXBA0g+voz6qBPOuiHdU5yziOkoAYox8BWkj2hE2gR/H+UkgJFG5+ Fmxg7BO4bQGgci17AAfsleYCn3g6RWXE1Bu1lYB60mxSOQN72cNicBgrQ7W2kz0cIIGlvlOWG8k AHAzQ/QQm0Kz8QDT4VCkXQyPWRlON2jgYCtNq2xYX/v6iPLeydBQISo5NcxfpA8KhvxJx1IAPLu IDOKeifTk3W9Yob5OlT9OiqZkRwGSauws4z3zslSMCoCwA9xeDZs324LFtc1I3xkyGJvUMVeNVk 9Tpwyl7eICJtupvTPmj1ppF6srB3 X-Google-Smtp-Source: AGHT+IGEFL/qT1PRhAs3U8N2vUCLbC9twU45iB2srhFiBHnsiwx4LeJNKvrei5f9KWeb3BmX6Snvbg== X-Received: by 2002:a05:6512:108a:b0:54a:f76a:6f81 with SMTP id 2adb3069b0e04-54d64aab3a3mr309425e87.27.1744796822015; Wed, 16 Apr 2025 02:47:02 -0700 (PDT) Received: from ark.local ([2a09:bac5:5151:2373::388:90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54d3d520389sm1625062e87.251.2025.04.16.02.47.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Apr 2025 02:47:01 -0700 (PDT) Received: by ark.local (Postfix, from userid 1000) id 055C0F20074; Wed, 16 Apr 2025 12:47:01 +0300 (MSK) Date: Wed, 16 Apr 2025 12:47:00 +0300 From: Konstantin Osipov To: Tom Lane Cc: Greg Sabino Mullane , Nikolay Samokhvalov , pgsql-hackers@lists.postgresql.org Subject: Re: Built-in Raft replication Message-ID: References: <1798838.1744759182@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1798838.1744759182@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk * Tom Lane [25/04/16 11:05]: > Nikolay Samokhvalov writes: > > This is exactly what I wanted to write as well. The idea is great. At the > > same time, I think, consensus on many decisions will be extremely hard to > > reach, so this project has a high risk of being very long. Unless it's an > > extension, at least in the beginning. > > Yeah. The two questions you'd have to get past to get this into PG > core are: > > 1. Why can't it be an extension? (You claimed it would work more > seamlessly in core, but I don't think you've made a proven case.) I think this can be best addressed when the discussion moves on to an architecture design record, where the UX and implementation details are outlined. I'm sure there can be a lot of bike-shedding on that part. For now I merely wanted to know if: - maybe there is a reason this will never be accepted - maybe someone is already working on this.