<div dir="ltr"><div dir="ltr">Hi Tatsuo Ishii, <div>Thanks for review. Please see comments inline:</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 16, 2020 at 3:33 AM Tatsuo Ishii &lt;<a href="mailto:ishii@sraoss.co.jp">ishii@sraoss.co.jp</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Umar,<br>
<br>
Thank you for the patch! That must be a hard work.<br>
<br>
Here are some comments:<br>
<br>
(1) I got some whitespace errors while applying patches.<br>
<br>
../language_fixes/v1-001-blackwhite-to-redgreen.diff:978: trailing whitespace.<br>
     Add new parameter &lt;xref linkend=&quot;guc-red-query-pattern-list&quot;&gt; to enable <br>
../language_fixes/v1-002-Watchdog-master-leader.diff:4417: trailing whitespace.<br>
# test if leader and backend goes down at same time Pgpool-II behaves as expected <br>
../language_fixes/v1-007-follow_master-and-recovery-and-misc.diff:13476: trailing whitespace.<br>
<br>
../language_fixes/v1-007-follow_master-and-recovery-and-misc.diff:13488: trailing whitespace.<br>
<br>
warning: 4 lines add whitespace errors.<br>
<br></blockquote><div>I will fix them in next patch. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
&gt; Hi Team,<br>
&gt; Attached patches for inclusive language for pgpool. please find few details<br>
&gt; about each patch bellow:<br>
&gt; v1-001-blackwhite-to-redgreen<br>
&gt;   Replace black with red and white with green for white_function_list,<br>
&gt; black_function_list, black_query_pattern, white_memqcache_table_list,<br>
&gt; black_memqcache_table_list<br>
<br>
Replacing to red and green is a little bit confusing to me. What<br>
about denylist/allowlist? It&#39;s suggested by Linux.<br>
<br></blockquote><div>Yes, I read few Linux related articles and few other sources too. denylist/allowlist is used for decision where we either allow or deny. In our case, based on mutability factor we decide whether we should send query to primary or standby. So in-fact we are not blocking queries. </div><div>IMO we can use </div><div>1. deny/allow ( e.g allow_function_list, deny_function_list, allow_query_pattern, allow_memqcache_table_list, deny_memqcache_table_list) ?</div><div>2. or descriptive term like mutable/immutable &amp; safe/unsafe based on pgpool usage ( e.g. mutable_function_list, immutable_function_list, safe_query_pattern, safe_memqcache_table_list, unsafe_memqcache_table_list ) ?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
&gt; v1-002-Watchdog-master-leader<br>
&gt;    Replace master to &#39;leader&#39; for &#39;master&#39; watchdog nodes<br>
<br>
Sounds reasonable choice to me.<br>
<br>
&gt; v1-003-ALWAYS_MASTER-to-ALWAYS_PRIMARY<br>
&gt;   Replace backend_flagx option &#39;ALWAYS_MASTER&#39; with &#39;ALWAYS_PRIMARY&#39;<br>
<br>
Sounds good to me.<br>
<br>
&gt; v1-004-relcache_query_target--master-to-primary<br>
&gt;    Replace relcache_query_target option &#39;master&#39; to &#39;primary&#39;<br>
<br>
Sounds good to me.<br>
<br>
&gt; v1-005-master-slave-to-primarystandby<br>
&gt;    Replace Master/Slave with Primary/Secondary<br>
<br>
I think we could replace &quot;Master/Slave mode&quot; to &quot;Native replication<br>
mode&quot;.<br>
<br>
Using &quot;Primary&quot; as the replacemnet for &quot;Master&quot; sounds is confusing as<br>
there&#39;s &quot;Primary&quot; in the streaming replication mode.<br>
<br></blockquote><div>I will use Native Replication  mode in next patch. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
&gt; v1-006-masterslave-to-mainreplica<br>
&gt;    Replace Master Node with Main node ( node id with 0 or youngest live )<br>
&gt;    Couldn&#39;t translate with primary/leader as they were already used in<br>
&gt; different context<br>
<br>
Sounds good to me.<br>
<br>
&gt; v1-007-follow_master-and-recovery-and-misc<br>
&gt;    Replace follow_master with follow_primary with parameters replaced with<br>
&gt; new/old master with new/old main.<br>
&gt;    Replace some remaining occurrences of master with primary/main/leader<br>
<br>
Sounds good to me.<br>
<br>
&gt; In the above patches I didn&#39;t change older releases notes ( except for some<br>
&gt; links so they don&#39;t break and point to new terminology), history, TODO and<br>
&gt; Japanese Doc string.<br>
<br>
Sounds good to me. (I will take care of Japanese Doc string).<br>
<br>
&gt; Postmaster ( It&#39;s used around 150 times ) and very few other occurrences of<br>
&gt; &#39;master&#39; are still present.<br>
<br>
No objection from me.<br>
<br>
&gt; There are alot of inter-dependent terminologies and so I might have missed<br>
&gt; something. Looking at them as a whole makes some sense, changing one term<br>
&gt; might lead to inconsistency in some other areas.<br>
&gt; I tried to come up with the above terminologies, just to start<br>
&gt; conversation. Feel free to share feedback and comments.<br>
<br>
Thanks.<br>
<br>
&gt; Regards<br>
&gt; Umar Hayat<br>
&gt; <br>
&gt; <br>
&gt; On Fri, Sep 4, 2020 at 8:03 AM Umar Hayat &lt;<a href="mailto:m.umarkiani@gmail.com" target="_blank">m.umarkiani@gmail.com</a>&gt; wrote:<br>
&gt; <br>
&gt;&gt; Hi Tatsuou Ishii,<br>
&gt;&gt; Yes I&#39;m planning for 4.2 and work is in progress, I will send patches in<br>
&gt;&gt; the upcoming week.<br>
&gt;&gt;<br>
&gt;&gt; Regards<br>
&gt;&gt; Umar Hayat<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Sep 3, 2020 at 5:59 AM Tatsuo Ishii &lt;<a href="mailto:ishii@sraoss.co.jp" target="_blank">ishii@sraoss.co.jp</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi Umar,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Now that we are getting closer to release Pgpool-II 4.2, I would like<br>
&gt;&gt;&gt; to know if you wish to bring your work into 4.2 or not. If you wish,<br>
&gt;&gt;&gt; can you please tell us the time line for the patch?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt; On Fri, Jul 24, 2020 at 4:33 PM Tatsuo Ishii &lt;<a href="mailto:ishii@sraoss.co.jp" target="_blank">ishii@sraoss.co.jp</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt; Hi Hackers,<br>
&gt;&gt;&gt; &gt;&gt; &gt; Recently PG community did a language clean up ( to make it more<br>
&gt;&gt;&gt; &gt;&gt; inclusive )<br>
&gt;&gt;&gt; &gt;&gt; &gt; for Server, including docs and code (see here<br>
&gt;&gt;&gt; &gt;&gt; &gt; &lt;<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; <a href="https://www.postgresql.org/message-id/20200615182235.x7lch5n6kcjq4aue@alap3.anarazel.de" rel="noreferrer" target="_blank">https://www.postgresql.org/message-id/20200615182235.x7lch5n6kcjq4aue@alap3.anarazel.de</a><br>
&gt;&gt;&gt; &gt;&gt; &gt;).<br>
&gt;&gt;&gt; &gt;&gt; &gt; Most changes were related to renaming &quot;slave&quot; and &quot;master&quot;<br>
&gt;&gt;&gt; terminologies.<br>
&gt;&gt;&gt; &gt;&gt; &gt; Do we have any plans to make such changes to make pgpool consistent<br>
&gt;&gt;&gt; with<br>
&gt;&gt;&gt; &gt;&gt; &gt; Server as well as in general Pgpool specific things ?<br>
&gt;&gt;&gt; &gt;&gt; &gt; If we do have a plan, it would need multiple patches as it would<br>
&gt;&gt;&gt; affect<br>
&gt;&gt;&gt; &gt;&gt; &gt; docs, code and configuration and samples.<br>
&gt;&gt;&gt; &gt;&gt; &gt; Let me know suggestions and thoughts and I can work on this.<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; It seems the discussion is still on going? I mean it has not been<br>
&gt;&gt;&gt; &gt;&gt; committed yet?<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; <a href="https://www.postgresql.org/message-id/flat/20200615182235.x7lch5n6kcjq4aue%40alap3.anarazel.de" rel="noreferrer" target="_blank">https://www.postgresql.org/message-id/flat/20200615182235.x7lch5n6kcjq4aue%40alap3.anarazel.de</a><br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Discussion is going on for two pending point which are not part of<br>
&gt;&gt;&gt; patches<br>
&gt;&gt;&gt; &gt; ( postmaster &amp; master branch) and one WIP patch(multi-master), rest of<br>
&gt;&gt;&gt; the<br>
&gt;&gt;&gt; &gt; 7 patches for that thread are committed.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=229f8c219f8fffacc253eca6023eab10a16eb009" rel="noreferrer" target="_blank">https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=229f8c219f8fffacc253eca6023eab10a16eb009</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=5e7bbb528638c0f6d585bab107ec7a19e3a39deb" rel="noreferrer" target="_blank">https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=5e7bbb528638c0f6d585bab107ec7a19e3a39deb</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=e07633646a22734e85d7fc58a66855f747128e6b" rel="noreferrer" target="_blank">https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=e07633646a22734e85d7fc58a66855f747128e6b</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=9e101cf60612f4be4f855d7393531900c2986a55" rel="noreferrer" target="_blank">https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=9e101cf60612f4be4f855d7393531900c2986a55</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=09dfd430118f1fadf52a782db5ee161b1eb16337" rel="noreferrer" target="_blank">https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=09dfd430118f1fadf52a782db5ee161b1eb16337</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=7c89f8a5b810d10dae300ec58ea7d70024e9123e" rel="noreferrer" target="_blank">https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=7c89f8a5b810d10dae300ec58ea7d70024e9123e</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; <a href="https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=a9a4a7ad565b136cbee735d4bb505d98d06da522" rel="noreferrer" target="_blank">https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=a9a4a7ad565b136cbee735d4bb505d98d06da522</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;&gt; The topic has not been discussed yet in pgpool-hackers, but I<br>
&gt;&gt;&gt; &gt;&gt; personally think we need to do something soon or later anyway. My<br>
&gt;&gt;&gt; &gt;&gt; concern is that that might require user-visible changes like:<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; master<br>
&gt;&gt;&gt; &gt;&gt; slave<br>
&gt;&gt;&gt; &gt;&gt; white_function_list<br>
&gt;&gt;&gt; &gt;&gt; black_function_list<br>
&gt;&gt;&gt; &gt;&gt; black_query_pattern_list<br>
&gt;&gt;&gt; &gt;&gt; white_memqcache_table_list<br>
&gt;&gt;&gt; &gt;&gt; black_memqcache_table_list<br>
&gt;&gt;&gt; &gt;&gt; follow_master_command<br>
&gt;&gt;&gt; &gt;&gt; relcache_query_target = master<br>
&gt;&gt;&gt; &gt;&gt; [maybe more...]<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Is it possible for you to come with a proposal for this so that pgpool<br>
&gt;&gt;&gt; &gt;&gt; hackers could start discussion?<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Best regards,<br>
&gt;&gt;&gt; &gt;&gt; --<br>
&gt;&gt;&gt; &gt;&gt; Tatsuo Ishii<br>
&gt;&gt;&gt; &gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt;&gt; &gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt;&gt; &gt;&gt; Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Sure, I will create proposal for different sections and patches to<br>
&gt;&gt;&gt; discuss<br>
&gt;&gt;&gt; &gt; it further.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Thanks<br>
&gt;&gt;&gt; &gt; Umar Hayat<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
</blockquote></div></div>