Proposal: Filter irrelevant change before reassemble transactions during logical decoding

Started by li jiealmost 3 years ago54 messageshackers

Thread notes

1 note#performance#moderate#enhancement
hackorum-bot#performance#moderate#enhancement
hackorum-bot
1 day ago

@global #performance #moderate #enhancement

#performance#moderate#enhancement
Jump to latest
#1li jie
ggysxcq@gmail.com

Hi,

During logical decoding, if there is a large write transaction, some
spill files will be written to disk,
depending on the setting of max_changes_in_memory.

This behavior can effectively avoid OOM, but if the transaction
generates a lot of change before commit,
a large number of files may fill the disk. For example, you can update
a TB-level table.
Of course, this is also inevitable.

But I found an inelegant phenomenon. If the updated large table is not
published, its changes will also
be written with a large number of spill files. Look at an example below:

publisher:
```
create table tbl_pub(id int, val1 text, val2 text,val3 text);
create table tbl_t1(id int, val1 text, val2 text,val3 text);
CREATE PUBLICATION mypub FOR TABLE public.tbl_pub;
```

subscriber:
```
create table tbl_pub(id int, val1 text, val2 text,val3 text);
create table tbl_t1(id int, val1 text, val2 text,val3 text);
CREATE SUBSCRIPTION mysub CONNECTION 'host=127.0.0.1 port=5432
user=postgres dbname=postgres' PUBLICATION mypub;
```

publisher:
```
begin;
insert into tbl_t1 select i,repeat('xyzzy', i),repeat('abcba',
i),repeat('dfds', i) from generate_series(0,999999) i;
```

Later you will see a large number of spill files in the
"/$PGDATA/pg_replslot/mysub/" directory.
```
$ll -sh
total 4.5G
4.0K -rw------- 1 postgres postgres 200 Nov 30 09:24 state
17M -rw------- 1 postgres postgres 17M Nov 30 08:22 xid-750-lsn-0-10000000.spill
12M -rw------- 1 postgres postgres 12M Nov 30 08:20 xid-750-lsn-0-1000000.spill
17M -rw------- 1 postgres postgres 17M Nov 30 08:23 xid-750-lsn-0-11000000.spill
......
```

We can see that table tbl_t1 is not published in mypub. It is also not
sent downstream because it is subscribed.
After the transaction is reorganized, the pgoutput decoding plug-in
filters out these change of unpublished relation
when sending logical changes. see function pgoutput_change.

Above all, if after constructing a change and before queuing a change
into a transaction, we filter out unpublished
relation-related changes, will it make logical decoding less laborious
and avoid disk growth as much as possible?

This is just an immature idea. I haven't started to implement it yet.
Maybe it was designed this way because there
are key factors that I didn't consider. So I want to hear everyone's
opinions, especially the designers of logic decoding.

#2li jie
ggysxcq@gmail.com
In reply to: li jie (#1)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

This is just an immature idea. I haven't started to implement it yet.
Maybe it was designed this way because there
are key factors that I didn't consider. So I want to hear everyone's
opinions, especially the designers of logic decoding.

Attached is the patch I used to implement this optimization.
The main designs are as follows:
1. Added a callback LogicalDecodeFilterByRelCB for the output plugin.

2. Added this callback function pgoutput_table_filter for the pgoutput plugin.
Its main implementation is based on the table filter in the
pgoutput_change function.

3. After constructing a change and before Queue a change into a transaction,
use RelidByRelfilenumber to obtain the relation associated with the change,
just like obtaining the relation in the ReorderBufferProcessTXN function.

4. Relation may be a toast, and there is no good way to get its real
table relation
based on toast relation. Here, I get the real table oid through
toast relname, and
then get the real table relation.

5. This filtering takes into account INSERT/UPDATE/INSERT. Other
changes have not
been considered yet and can be expanded in the future.

6. The table filter in pgoutput_change and the get relation in
ReorderBufferProcessTXN
can be deleted. This has not been done yet. This is the next step.

Sincerely look forward to your feedback.
Regards, lijie

Attachments:

v1-Filter-irrelevant-change-before-reassemble-transacti.patchapplication/octet-stream; name=v1-Filter-irrelevant-change-before-reassemble-transacti.patchDownload+339-5
#3Amit Kapila
amit.kapila16@gmail.com
In reply to: li jie (#2)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

On Fri, Dec 1, 2023 at 1:55 PM li jie <ggysxcq@gmail.com> wrote:

This is just an immature idea. I haven't started to implement it yet.
Maybe it was designed this way because there
are key factors that I didn't consider. So I want to hear everyone's
opinions, especially the designers of logic decoding.

Attached is the patch I used to implement this optimization.
The main designs are as follows:
1. Added a callback LogicalDecodeFilterByRelCB for the output plugin.

2. Added this callback function pgoutput_table_filter for the pgoutput plugin.
Its main implementation is based on the table filter in the
pgoutput_change function.

3. After constructing a change and before Queue a change into a transaction,
use RelidByRelfilenumber to obtain the relation associated with the change,
just like obtaining the relation in the ReorderBufferProcessTXN function.

4. Relation may be a toast, and there is no good way to get its real
table relation
based on toast relation. Here, I get the real table oid through
toast relname, and
then get the real table relation.

This may be helpful for the case you have mentioned but how about
cases where there is nothing to filter by relation? It will add
overhead related to the transaction start/end and others for each
change. Currently, we do that just once for all the changes that need
to be processed. I wonder why the spilling can't be avoided with GUC
logical_decoding_work_mem?

--
With Regards,
Amit Kapila.

#4li jie
ggysxcq@gmail.com
In reply to: Amit Kapila (#3)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

This may be helpful for the case you have mentioned but how about
cases where there is nothing to filter by relation?

You can see the complete antecedent in the email [1]. Relation that has
not been published will also generate changes and put them into the entire
transaction group, which will increase invalid memory or disk space.

It will add
overhead related to the transaction start/end and others for each
change. Currently, we do that just once for all the changes that need
to be processed.

Yes, it will only be processed once at present. It is done when applying
each change when the transaction is committed. This patch hopes to
advance it to the time when constructing the change, and determines the
change queue into a based on whether the relation is published.

I wonder why the spilling can't be avoided with GUC
logical_decoding_work_mem?

Of course you can, but this will only convert disk space into memory space.
For details, please see the case in Email [1].

Regards, lijie

#5li jie
ggysxcq@gmail.com
In reply to: Amit Kapila (#3)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

This may be helpful for the case you have mentioned but how about
cases where there is nothing to filter by relation?

You can see the complete antecedent in the email [1]/messages/by-id/CAGfChW51P944nM5h0HTV9HistvVfwBxNaMt_s-OZ9t=uXz+Zbg@mail.gmail.com. Relation that has
not been published will also generate changes and put them into the entire
transaction group, which will increase invalid memory or disk space.

It will add
overhead related to the transaction start/end and others for each
change. Currently, we do that just once for all the changes that need
to be processed.

Yes, it will only be processed once at present. It is done when applying
each change when the transaction is committed. This patch hopes to
advance it to the time when constructing the change, and determines the
change queue into a based on whether the relation is published.

I wonder why the spilling can't be avoided with GUC
logical_decoding_work_mem?

Of course you can, but this will only convert disk space into memory space.
For details, please see the case in Email [1]/messages/by-id/CAGfChW51P944nM5h0HTV9HistvVfwBxNaMt_s-OZ9t=uXz+Zbg@mail.gmail.com.

[1]: /messages/by-id/CAGfChW51P944nM5h0HTV9HistvVfwBxNaMt_s-OZ9t=uXz+Zbg@mail.gmail.com

Regards, lijie

Amit Kapila <amit.kapila16@gmail.com> 于2023年12月2日周六 12:11写道:

Show quoted text

On Fri, Dec 1, 2023 at 1:55 PM li jie <ggysxcq@gmail.com> wrote:

This is just an immature idea. I haven't started to implement it yet.
Maybe it was designed this way because there
are key factors that I didn't consider. So I want to hear everyone's
opinions, especially the designers of logic decoding.

Attached is the patch I used to implement this optimization.
The main designs are as follows:
1. Added a callback LogicalDecodeFilterByRelCB for the output plugin.

2. Added this callback function pgoutput_table_filter for the pgoutput plugin.
Its main implementation is based on the table filter in the
pgoutput_change function.

3. After constructing a change and before Queue a change into a transaction,
use RelidByRelfilenumber to obtain the relation associated with the change,
just like obtaining the relation in the ReorderBufferProcessTXN function.

4. Relation may be a toast, and there is no good way to get its real
table relation
based on toast relation. Here, I get the real table oid through
toast relname, and
then get the real table relation.

This may be helpful for the case you have mentioned but how about
cases where there is nothing to filter by relation? It will add
overhead related to the transaction start/end and others for each
change. Currently, we do that just once for all the changes that need
to be processed. I wonder why the spilling can't be avoided with GUC
logical_decoding_work_mem?

--
With Regards,
Amit Kapila.

#6Ajin Cherian
itsajin@gmail.com
In reply to: li jie (#5)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

Of course you can, but this will only convert disk space into memory space.
For details, please see the case in Email [1].

[1]
/messages/by-id/CAGfChW51P944nM5h0HTV9HistvVfwBxNaMt_s-OZ9t=uXz+Zbg@mail.gmail.com

Regards, lijie

Hi lijie,

Overall, I think the patch is a good improvement. Some comments from first
run through of patch:
1. The patch no longer applies cleanly, please rebase.

2. While testing the patch, I saw something strange. If I try to truncate a
table that is published. I still see the message:
2024-03-18 22:25:51.243 EDT [29385] LOG: logical filter change by table
pg_class

This gives the impression that the truncate operation on the published
table has been filtered but it hasn't. Also the log message needs to be
reworded. Maybe, "Logical filtering change by non-published table
<relation_name>"

3. Below code:
@@ -1201,11 +1343,14 @@ DecodeMultiInsert(LogicalDecodingContext *ctx,
XLogRecordBuffer *buf)
+
+ if (FilterByTable(ctx, change))
+ continue;;

extra semi-colon after continue.

4. I am not sure if this is possible, but is there a way to avoid the
overhead in the patch if the publication publishes "ALL TABLES"?

5. In function: pgoutput_table_filter() - this code appears to be filtering
out not just unpublished tables but also applying row based filters on
published tables as well. Is this really within the scope of the feature?

regards,
Ajin Cherian
Fujitsu Australia

#7Hayato Kuroda (Fujitsu)
kuroda.hayato@fujitsu.com
In reply to: li jie (#2)
RE: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

Dear Li,

Thanks for proposing and sharing the PoC. Here are my high-level comments.

1.
What if ALTER PUBLICATION ... ADD is executed in parallel?
Should we publish added tables if the altering is done before the transaction is
committed? The current patch seems unable to do so because changes for added
tables have not been queued at COMMIT.
If we should not publish such tables, why?

2.
This patch could not apply as-is. Please rebase.

3. FilterByTable()

```
+    if (ctx->callbacks.filter_by_origin_cb == NULL)
+        return false;
```

filter_by_table_cb should be checked instead of filter_by_origin_cb.
Current patch crashes if the filter_by_table_cb() is not implemented.

4. DecodeSpecConfirm()

```
+    if (FilterByTable(ctx, change))
+        return;
+
```

I'm not sure it is needed. Can you explain the reason why you added?

5. FilterByTable

```
+    switch (change->action)
+    {
+            /* intentionally fall through */
+        case REORDER_BUFFER_CHANGE_INSERT:
+        case REORDER_BUFFER_CHANGE_UPDATE:
+        case REORDER_BUFFER_CHANGE_DELETE:
+            break;
+        default:
+            return false;
+    }
```

IIUC, REORDER_BUFFER_CHANGE_TRUNCATE also targes the user table, so I think
it should be accepted. Thought?

6.

I got strange errors when I tested the feature. I thought this implied there were
bugs in your patch.

1. implemented no-op filter atop test_decoding like attached
2. ran `make check` for test_decoding modle
3. some tests failed. Note that "filter" was a test added by me.
regression.diffs was also attached.

```
not ok 1 - ddl 970 ms
ok 2 - xact 36 ms
not ok 3 - rewrite 525 ms
not ok 4 - toast 736 ms
ok 5 - permissions 50 ms
ok 6 - decoding_in_xact 39 ms
not ok 7 - decoding_into_rel 57 ms
ok 8 - binary 21 ms
not ok 9 - prepared 33 ms
ok 10 - replorigin 93 ms
ok 11 - time 25 ms
ok 12 - messages 47 ms
ok 13 - spill 8063 ms
ok 14 - slot 124 ms
ok 15 - truncate 37 ms
not ok 16 - stream 60 ms
ok 17 - stats 157 ms
ok 18 - twophase 122 ms
not ok 19 - twophase_stream 57 ms
not ok 20 - filter 20 ms
```

Currently I'm not 100% sure the reason, but I think it may read the latest system
catalog even if ALTER SUBSCRIPTION is executed after changes.
In below example, an attribute is altered text->somenum, after inserting data.
But get_changes() outputs as somenum.

```
  BEGIN
- table public.replication_example: INSERT: id[integer]:1 somedata[integer]:1 text[character varying]:'1'
- table public.replication_example: INSERT: id[integer]:2 somedata[integer]:1 text[character varying]:'2'
+ table public.replication_example: INSERT: id[integer]:1 somedata[integer]:1 somenum[character varying]:'1'
+ table public.replication_example: INSERT: id[integer]:2 somedata[integer]:1 somenum[character varying]:'2'
  COMMIT
```

Also, if the relfilenuber of the relation is changed, an ERROR is raised.

```
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');
-                                    data                                    
-----------------------------------------------------------------------------
- BEGIN
- table public.tr_pkey: INSERT: id2[integer]:2 data[integer]:1 id[integer]:2
- COMMIT
- BEGIN
- table public.tr_pkey: DELETE: id[integer]:1
- table public.tr_pkey: DELETE: id[integer]:2
- COMMIT
-(7 rows)
-
+ERROR:  could not map filenumber "base/16384/16397" to relation OID
```

Best Regards,
Hayato Kuroda
FUJITSU LIMITED
https://www.fujitsu.com/

Attachments:

0001-WIP-implement-no-op-filter.txttext/plain; name=0001-WIP-implement-no-op-filter.txtDownload+34-3
regression.diffsapplication/octet-stream; name=regression.diffsDownload+167-347
#8Ajin Cherian
itsajin@gmail.com
In reply to: Ajin Cherian (#6)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

On Tue, Mar 19, 2024 at 1:49 PM Ajin Cherian <itsajin@gmail.com> wrote:

Of course you can, but this will only convert disk space into memory
space.
For details, please see the case in Email [1].

[1]
/messages/by-id/CAGfChW51P944nM5h0HTV9HistvVfwBxNaMt_s-OZ9t=uXz+Zbg@mail.gmail.com

Regards, lijie

In some testing, I see a crash:
(gdb) bt
#0 0x00007fa5bcbfd277 in raise () from /lib64/libc.so.6
#1 0x00007fa5bcbfe968 in abort () from /lib64/libc.so.6
#2 0x00000000009e0940 in ExceptionalCondition (
conditionName=conditionName@entry=0x7fa5ab8b9842 "RelationSyncCache !=
NULL",
fileName=fileName@entry=0x7fa5ab8b9820 "pgoutput.c",
lineNumber=lineNumber@entry=1991)
at assert.c:66
#3 0x00007fa5ab8b7804 in get_rel_sync_entry (data=data@entry=0x2492288,
relation=relation@entry=0x7fa5be30a768) at pgoutput.c:1991
#4 0x00007fa5ab8b7cda in pgoutput_table_filter (ctx=<optimized out>,
relation=0x7fa5be30a768,
change=0x24c5c20) at pgoutput.c:1671
#5 0x0000000000813761 in filter_by_table_cb_wrapper (ctx=ctx@entry=0x2491fd0,

relation=relation@entry=0x7fa5be30a768, change=change@entry=0x24c5c20)
at logical.c:1268
#6 0x000000000080e20f in FilterByTable (ctx=ctx@entry=0x2491fd0,
change=change@entry=0x24c5c20)
at decode.c:690
#7 0x000000000080e8e3 in DecodeInsert (ctx=ctx@entry=0x2491fd0,
buf=buf@entry=0x7fff0db92550)
at decode.c:1070
#8 0x000000000080f43d in heap_decode (ctx=ctx@entry=0x2491fd0,
buf=buf@entry=0x7fff0db92550)
at decode.c:485
#9 0x000000000080eca6 in LogicalDecodingProcessRecord
(ctx=ctx@entry=0x2491fd0,
record=0x2492368)
at decode.c:118
#10 0x000000000081338f in DecodingContextFindStartpoint
(ctx=ctx@entry=0x2491fd0)
at logical.c:672
#11 0x000000000083c650 in CreateReplicationSlot (cmd=cmd@entry=0x2490970)
at walsender.c:1323
#12 0x000000000083fd48 in exec_replication_command (
cmd_string=cmd_string@entry=0x239c880 "CREATE_REPLICATION_SLOT
\"pg_16387_sync_16384_7371301304766135621\" LOGICAL pgoutput (SNAPSHOT
'use')") at walsender.c:2116

The reason for the crash is that the RelationSyncCache was NULL prior to
reaching a consistent point.
Hi li jie, I see that you created a new thread with an updated version of
this patch [1]/messages/by-id/CAGfChW7+ZMN4_NHPgz24MM42HVO83ecr9TLfpihJ=M0s1GkXFw@mail.gmail.com. I used that patch and addressed the crash seen above,
rebased the patch and addressed a few other comments.
I'm happy to help you with this patch and address comments if you are not
available.

regards,
Ajin Cherian
Fujitsu Australia
[1]: /messages/by-id/CAGfChW7+ZMN4_NHPgz24MM42HVO83ecr9TLfpihJ=M0s1GkXFw@mail.gmail.com
/messages/by-id/CAGfChW7+ZMN4_NHPgz24MM42HVO83ecr9TLfpihJ=M0s1GkXFw@mail.gmail.com

Attachments:

v2-0001-Reduce-useless-changes-before-reassemble-during-l.patchapplication/octet-stream; name=v2-0001-Reduce-useless-changes-before-reassemble-during-l.patchDownload+339-39
#9Ajin Cherian
itsajin@gmail.com
In reply to: Ajin Cherian (#8)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

On Wed, May 22, 2024 at 2:17 PM Ajin Cherian <itsajin@gmail.com> wrote:

The reason for the crash is that the RelationSyncCache was NULL prior to
reaching a consistent point.
Hi li jie, I see that you created a new thread with an updated version of
this patch [1]. I used that patch and addressed the crash seen above,
rebased the patch and addressed a few other comments.
I'm happy to help you with this patch and address comments if you are not
available.

regards,
Ajin Cherian
Fujitsu Australia
[1] -
/messages/by-id/CAGfChW7+ZMN4_NHPgz24MM42HVO83ecr9TLfpihJ=M0s1GkXFw@mail.gmail.com

I was discussing this with Kuroda-san who made a patch to add a table
filter with test_decoding plugin. The filter does nothing, just returns
false( doesn't filter anything) and I see that 8 test_decoding tests fail.
In my analysis, I could see that some of the failures were because the new
filter logic was accessing the relation cache using the latest snapshot for
relids which was getting incorrect relation information while decoding
attribute values.
for eg:
CREATE TABLE replication_example(id SERIAL PRIMARY KEY, somedata int, text
varchar(120));
BEGIN;
INSERT INTO replication_example(somedata, text) VALUES (1, 1);
INSERT INTO replication_example(somedata, text) VALUES (1, 2);
COMMIT;
ALTER TABLE replication_example RENAME COLUMN text TO somenum;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL,
'include-xids', '0', 'skip-empty-xacts', '1');

Here, after decoding, the changes for the INSERT, were reflecting the new
column name (somenum) which was altered in a later transaction. This is
because the new Filterby Table() logic was getting relcache with latest
snapshot and does not use a historic snapshot like logical decoding should
be doing. This is because the changes are at the decode.c level and not the
reorderbuffer level and does not have access to the txn from the
reorderbuffer. This problem could be fixed by invalidating the cache in the
FilterByTable() logic, but this does not solve other problems like the
table name itself is changed in a later transaction. I think the patch has
a fundamental problem that the table filter logic does not respect the
snapshot of the transaction being decoded. The historic snapshot is
currently only set up when the actual changes are committed or streamed at
ReorderBufferProcessTXN().

If the purpose of the patch is to filter out unnecessary changes prior to
actual decode, then it will use an invalid snapshot and have lots of
problems. Otherwise this logic has to be moved to the reorderbuffer level
and there will be a big overhead of extracting reorderbuffer while each
change is queued in memory/disk.
regards,
Ajin Cherian
Fujitsu Australia

#10Zhijie Hou (Fujitsu)
houzj.fnst@fujitsu.com
In reply to: Ajin Cherian (#9)
RE: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

Hi,

I think the proposed feature is interesting, and after reviewing the
original discussion thread, I'd like to help move it forward. To that end, I've
summarized the key points of the discussion so far, including the challenges
highlighted in the thread and some issues I identified off-list, along with
potential solutions. My colleague will share a new POC patch set that has been
developed based on these lines.
(Note that the previous email was blocked, this is the second attempt)

The original proposal in this thread suggests filtering out changes that won't
be published before decoding. This approach could prevent the serialization of
numerous unnecessary records to disk when using non-streaming mode for large
transactions. I find this to be a valid proposal. Although a recent commit has
enabled streaming mode for built-in logical replication by default, this
strategy could also save memory and CPU cycles in streaming mode, especially
when most changes can be filtered out.

While the proposal is interesting, several issues have been identified both in
this thread and off-list:

- Performance

Determining whether to filter a change requires information about the relation
or publication from the catalog, requiring a transaction to be started. When
most changes in a transaction are unfilterable, the overhead of starting a
transaction for each record is significant.

This is not a big issue because we can cache whether a change corresponding to
a table is filterable using a hash table.
However, a single hash search may not be sufficiently cheap if performed for
every record before decoding. In my tests, this caching approach produced
noticeable overhead (around 4%), mainly due to the cost of computing the hash
key and function calls in a hot path

--4.86%--hash_search
|--3.55%--tag_hash
| --2.96%--hash_bytes
--0.37%--hash_search_with_hash_value

Such overhead may not be acceptable for all users, given valid use cases like
publishing most tables on an instance (e.g., during an upgrade using logical
replication), where this filtering wouldn't provide a benefit and would only
incur overhead.

A tiny approach to minimize overhead is to suspend filtering for a certain
period when an unfilterable change is encountered. In other words, continue
filtering changes (using hash cache) if the last record was successfully
filtered out. If an unfilterable change is found, skip filtering the next 100
(an arbitrary number) changes. This approach aims to reduce frequent hash
searches when most changes can't be filtered out, lowering the overhead to less
than 1% on my machine. (This is a simple idea, and better algorithms could
exist.)

- Snapshot construction

The main challenge discussed in this thread is constructing a correct historic
snapshot for filtering purposes. Creating a historic snapshot while decoding an
in-progress transaction is feasible, as it's already done in streaming mode.
However, there could be pending records (INTERNAL_SNAPSHOT, COMMAND_ID, or
INVALIDATION) that will update the built-in snapshot. We shouldn't use a
current snapshot without processing these records.

But thinking from another perspective, why not perform filtering only when
there are no such pending records. By tracking whether the decoder has any of
these records, we could skip filtering if they are present. These special
records are generally generated only during DDL execution, which shouldn't be
frequent; thus, the filter could still benefit many scenarios.

- new output plugin callback

To perform filtering, a new callback (e.g., change_filter) would be needed to
invoke before decoding the record. Using pgoutput as an example, we would call
get_rel_sync_entry() in the callback to determine if a change corresponding to
a table can be filtered.

get_rel_sync_entry() requires catalog access if it doesn't find the cache entry
in the hash table. But as mentioned in the "Performance" section, we need to
minimize catalog access and transaction start/stop. So, ideally, the callback
should return whether it needs catalog access, allowing the caller
(reorderbuffer) to start a transaction if necessary.

The callback interface could be:

(Note: The function or parameter names can be refined; the example just
provided what's the input and output information.)

typedef bool (LogicalDecodeFilterChangeCB) (struct LogicalDecodingContext ctx,
Oid relid,
ReorderBufferChangeType type,
bool in_txn, bool *cache_valid);

To signal that decoding should be skipped for the given change type, it returns
true; false otherwise. The in_txn parameter indicates whether the callback is
invoked within a transaction block. When in_txn is false, and if making a
decision to filter a change requires being inside a transaction block, such as
needing access to the catalog, set *cache_valid to false. The caller should
invoke this for each record, and invoke this without starting a transaction, if
the returned cache_valid is false, then the caller should should reinvoke the
callback after starting a transaction.

Another alternative approach in Li jie patch[1]/messages/by-id/CAGfChW7XpZGkxOpHZnv69+H_AyKzbffcrumyNu4Fz0u+1ADPxA@mail.gmail.com is having the output plugin
callback always provide all record types that can be published for a relation
and cache them at the reorderbuffer level. However, I think this isn't feasible
because the reorderbuffer isn't (and needn't to be) aware of when to invalidate
such a cache. Although we could register the cache invalidation callback like
pgoutput does in init_rel_sync_cache(), many third-party output plugins could
have their own caching mechanisms, making it impossible for reorderbuffer to
simulate cache management for all. Therefore, what the reorderbuffer should do,
in my opinion, would be to directly ask the output plugin to see if a result
can be obtained without entering a transaction, as per the interface I
mentioned earlier.

[1]: /messages/by-id/CAGfChW7XpZGkxOpHZnv69+H_AyKzbffcrumyNu4Fz0u+1ADPxA@mail.gmail.com

Best Regards,
Hou zj

#11Ajin Cherian
itsajin@gmail.com
In reply to: Zhijie Hou (Fujitsu) (#10)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

On Fri, Jan 24, 2025 at 5:28 PM Zhijie Hou (Fujitsu) <houzj.fnst@fujitsu.com>
wrote:

Hi,

I think the proposed feature is interesting, and after reviewing the
original discussion thread, I'd like to help move it forward. To that end,
I've
summarized the key points of the discussion so far, including the
challenges
highlighted in the thread and some issues I identified off-list, along with
potential solutions. My colleague will share a new POC patch set that has
been
developed based on these lines.
(Note that the previous email was blocked, this is the second attempt)

Thanks Hou-san,

Here's a patch-set created based on the design changes proposed by Hou-san.

P.S: It has reached v12 after internal review/rework iterations

Regards,
Ajin Cherian
Fujitsu Australia

Attachments:

v12-0001-Track-transactions-with-internal-snapshot-change.patchapplication/octet-stream; name=v12-0001-Track-transactions-with-internal-snapshot-change.patchDownload+18-1
v12-0002-Filter-transactions-that-need-not-be-published.patchapplication/octet-stream; name=v12-0002-Filter-transactions-that-need-not-be-published.patchDownload+374-69
v12-0003-Introduce-a-output-plugin-callback-to-filter-cha.patchapplication/octet-stream; name=v12-0003-Introduce-a-output-plugin-callback-to-filter-cha.patchDownload+228-12
#12Peter Smith
smithpb2250@gmail.com
In reply to: Ajin Cherian (#11)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

Hi Ajin,

Some review comments for patch v12-0001.

======
Commit message

1.
Track transactions which have snapshot changes with a new flag
RBTXN_HAS_SNAPSHOT_CHANGES

~

The commit message only says *what* it does, but not *why* this patch
even exists. TBH, I don't understand why this patch needs to be
separated from your patch 0002, because 0001 makes no independent use
of the flag, nor is it separately tested.

Anyway, if it is going to remain separated then IMO at least the the
message should explain the intended purpose e.g. why the subsequent
patches require this flagged info and how they will use it.

======
src/include/replication/reorderbuffer.h

2.
+/* Does this transaction have snapshot changes? */
+#define rbtxn_has_snapshot_changes(txn) \
+( \
+ ((txn)->txn_flags & RBTXN_HAS_SNAPSHOT_CHANGES) != 0 \
+)
+

Is the below wording maybe a more plain way to say that:

/* Does this transaction make changes to the current snapshot? */

======
Kind Regards,
Peter Smith.
Fujitsu Australia

#13Hayato Kuroda (Fujitsu)
kuroda.hayato@fujitsu.com
In reply to: Ajin Cherian (#11)
RE: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

Dear Ajin, Hou,

- Snapshot construction

I understand the approach that we do not try to filter for all the workloads; do
just best-effort.

I played with your PoC and here are my comments.

1.
Can you add tests for better understanding? I've tried for tes_decoding like attached,
but it couldn't pass the regression test. Cases "stream.sql" and "twophase_stream.sql"
were failed.

2.
I think we can extend the skip mechanism to UPDATE/DELETE/MultiInsert/SpecConfirm.
Regarding the TRUNCATE, I'm not sure we can handle hte TRUNCATE case because the we
can't track RelFileLocator anymore.

3.
Both ReorderBuffer and RelFileLocatorFilterCache have the same lifetime but
RelFileLocatorFilterCache is provided as the global variable; it is quite strange.
Can you somehow avoid this? I considered idea but could not because we do not have
APIs to Unregister the relcacheCallback.

4.
For output plugins which does not cache the catalog, it may not able to do filtering
without the transaction. For them, the early filter may degrade the performance
because it requires to open transactions for every changes.
Is my understanding correct?

Best regards,
Hayato Kuroda
FUJITSU LIMITED

Attachments:

v20250131-0001-Try-to-add-tests.txttext/plain; name=v20250131-0001-Try-to-add-tests.txtDownload+65-2
#14vignesh C
vignesh21@gmail.com
In reply to: Ajin Cherian (#11)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

On Tue, 28 Jan 2025 at 08:40, Ajin Cherian <itsajin@gmail.com> wrote:

Here's a patch-set created based on the design changes proposed by Hou-san.

Few comments:
1) Shouldn't we do the same thing for other DecodeXXX functions?
@@ -915,6 +915,11 @@ DecodeInsert(LogicalDecodingContext *ctx,
XLogRecordBuffer *buf)
if (FilterByOrigin(ctx, XLogRecGetOrigin(r)))
return;

+       if (ctx->reorder->can_filter_change &&
+               ReorderBufferFilterByRelFileLocator(ctx->reorder,
XLogRecGetXid(r),
+
                 buf->origptr, &target_locator, true))
+               return;
+

2) Let's add some debug logs so that it will be easy to verify the
changes that are getting filtered, or else we will have to debug and
verify them:
@@ -915,6 +915,11 @@ DecodeInsert(LogicalDecodingContext *ctx,
XLogRecordBuffer *buf)
if (FilterByOrigin(ctx, XLogRecGetOrigin(r)))
return;

+       if (ctx->reorder->can_filter_change &&
+               ReorderBufferFilterByRelFileLocator(ctx->reorder,
XLogRecGetXid(r),
+
                 buf->origptr, &target_locator, true))
+               return;

3) Also there are no tests currently, probably if we add the above
mentioned debug logs we could add few tests and verify them based on
the logs.

4) Can you elaborate a bit in the commit message why we need to
capture if a transaction has snapshot changes:
Subject: [PATCH v12 1/3] Track transactions with internal snapshot changes

Track transactions which have snapshot changes with a new flag
RBTXN_HAS_SNAPSHOT_CHANGES

Regards,
Vignesh

#15Zhijie Hou (Fujitsu)
houzj.fnst@fujitsu.com
In reply to: Hayato Kuroda (Fujitsu) (#13)
RE: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

On Friday, January 31, 2025 9:43 PM Kuroda, Hayato/黒田 隼人 <kuroda.hayato@fujitsu.com>

Dear Ajin, Hou,

- Snapshot construction

I understand the approach that we do not try to filter for all the workloads; do
just best-effort.

3.
Both ReorderBuffer and RelFileLocatorFilterCache have the same lifetime but
RelFileLocatorFilterCache is provided as the global variable; it is quite strange.
Can you somehow avoid this? I considered idea but could not because we do
not have APIs to Unregister the relcacheCallback.

I think we already have precedent of this (e.g., RelationSyncCache in pgoutput.c),
so, I am OK for it unless we come up with better ideas.

4.
For output plugins which does not cache the catalog, it may not able to do
filtering without the transaction. For them, the early filter may degrade the
performance because it requires to open transactions for every changes.
Is my understanding correct?

Partially correct. To be precise, I think we should recommend that output
plugin that cannot filter without transaction can avoid implementing this
callback in the first place, so that it would not cause degradation.

Best Regards,
Hou zj

#16Ajin Cherian
itsajin@gmail.com
In reply to: vignesh C (#14)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

On Wed, Jan 29, 2025 at 9:31 AM Peter Smith <smithpb2250@gmail.com> wrote:

Hi Ajin,

Some review comments for patch v12-0001.

======
Commit message

1.
Track transactions which have snapshot changes with a new flag
RBTXN_HAS_SNAPSHOT_CHANGES

~

The commit message only says *what* it does, but not *why* this patch
even exists. TBH, I don't understand why this patch needs to be
separated from your patch 0002, because 0001 makes no independent use
of the flag, nor is it separately tested.

Anyway, if it is going to remain separated then IMO at least the the
message should explain the intended purpose e.g. why the subsequent
patches require this flagged info and how they will use it.

Fixed.

======
src/include/replication/reorderbuffer.h

    2.
    +/* Does this transaction have snapshot changes? */
    +#define rbtxn_has_snapshot_changes(txn) \
    +( \
    + ((txn)->txn_flags & RBTXN_HAS_SNAPSHOT_CHANGES) != 0 \
    +)
    +

Is the below wording maybe a more plain way to say that:

/* Does this transaction make changes to the current snapshot? */

Fixed as suggested.

On Sat, Feb 1, 2025 at 12:43 AM Hayato Kuroda (Fujitsu)
<kuroda.hayato@fujitsu.com> wrote:
Dear Ajin, Hou,

- Snapshot construction

I understand the approach that we do not try to filter for all the workloads; do
just best-effort.

I played with your PoC and here are my comments.

1.
Can you add tests for better understanding? I've tried for
tes_decoding like attached,
but it couldn't pass the regression test. Cases "stream.sql" and
"twophase_stream.sql"
were failed.

I've added tests. I've analysed your patch and the regression test
failure. The tests fail to detect concurrent aborts.I think the reason
for that is because of the filter check logic access of the catalog,
the changes are cached.
As a result, when the actual decoding happens, the catalog is not
accessed as the relation detailsare in cache. Without catalog access,
concurrent aborts cannot be detected as concurrent aborts are
detectedonly when the catalog is accessed. There is a new thread by
Sawada-san on a more efficient detection of concurrent aborts,I don't
know if that will solve this issue, otherwise I don't know how to fix
this in a meaningful way. Caching improvesperformance, and at the same
time it prevents detection of concurrent aborts.

2.
I think we can extend the skip mechanism to
UPDATE/DELETE/MultiInsert/SpecConfirm.
Regarding the TRUNCATE, I'm not sure we can handle hte TRUNCATE case
because the we
can't track RelFileLocator anymore.

Updated.

On Tue, Feb 4, 2025 at 2:19 PM vignesh C <vignesh21@gmail.com> wrote:

On Tue, 28 Jan 2025 at 08:40, Ajin Cherian <itsajin@gmail.com> wrote:

Here's a patch-set created based on the design changes proposed

by Hou-san.

Few comments:
1) Shouldn't we do the same thing for other DecodeXXX functions?
@@ -915,6 +915,11 @@ DecodeInsert(LogicalDecodingContext *ctx,
XLogRecordBuffer *buf)
if (FilterByOrigin(ctx, XLogRecGetOrigin(r)))
return;

    +       if (ctx->reorder->can_filter_change &&
    +               ReorderBufferFilterByRelFileLocator(ctx->reorder,
    XLogRecGetXid(r),
    +
                     buf->origptr, &target_locator, true))
    +               return;
    +

Updated.

2) Let's add some debug logs so that it will be easy to verify the
changes that are getting filtered, or else we will have to debug and
verify them:
@@ -915,6 +915,11 @@ DecodeInsert(LogicalDecodingContext *ctx,
XLogRecordBuffer *buf)
if (FilterByOrigin(ctx, XLogRecGetOrigin(r)))
return;

    +       if (ctx->reorder->can_filter_change &&
    +               ReorderBufferFilterByRelFileLocator(ctx->reorder,
    XLogRecGetXid(r),
    +
                     buf->origptr, &target_locator, true))
    +               return;

3) Also there are no tests currently, probably if we add the above
mentioned debug logs we could add few tests and verify them based on
the logs.

Updated.

4) Can you elaborate a bit in the commit message why we need to
capture if a transaction has snapshot changes:
Subject: [PATCH v12 1/3] Track transactions with internal snapshot changes

Track transactions which have snapshot changes with a new flag
RBTXN_HAS_SNAPSHOT_CHANGES

Updated.

regards,
Ajin Cherian
Fujitsu Australia

Attachments:

v13-0003-Introduce-a-output-plugin-callback-to-filter-cha.patchapplication/octet-stream; name=v13-0003-Introduce-a-output-plugin-callback-to-filter-cha.patchDownload+308-14
v13-0001-Track-transactions-with-internal-snapshot-change.patchapplication/octet-stream; name=v13-0001-Track-transactions-with-internal-snapshot-change.patchDownload+18-1
v13-0002-Filter-transactions-that-need-not-be-published.patchapplication/octet-stream; name=v13-0002-Filter-transactions-that-need-not-be-published.patchDownload+374-69
#17Peter Smith
smithpb2250@gmail.com
In reply to: Ajin Cherian (#16)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

Hi Ajin,

Some review comments for the patch v13-0002.

======
src/backend/replication/logical/reorderbuffer.c

1. GENERAL

I felt that a summary/overview of how all this filter/cache logic
works should be given in the large file header comment at the top of
this file. There may be some overlap with comments that are already in
the "RelFileLocator filtering" section.

~~~

ReorderBufferRelFileLocatorEnt:

2.
+/* entry for hash table we use to track if the relation can be filtered */
+typedef struct ReorderBufferRelFileLocatorEnt

/* Hash table entry used to determine if the relation can be filtered. */

~~~

ReorderBufferQueueChange:

3.
+ /*
+ * If we're not filtering and we've crossed the change threshold,
+ * attempt to filter again
+ */

SUGGESTION
If filtering was suspended, and we've crossed the change threshold
then reenable filtering.

~~~

ReorderBufferGetRelation:

4.
+static Relation
+ReorderBufferGetRelation(ReorderBuffer *rb, RelFileLocator *rlocator,
+ bool has_tuple)

Would a better name be ReorderBufferGetRelationForDecoding(). Yeah,
it's a bit long but perhaps it explains the context/purpose better.

~~~

5.
+ if (filterable)
+ {
+ RelationClose(relation);
+ return NULL;
+ }

I wonder if some small descriptive comment would be helpful here just
to say we are returning NULL to indicate that this relation is not
needed and yada yada...

~~~

RelFileLocatorCacheInvalidateCallback:

6.
+ /* slightly inefficient algorithm but not performance critical path */
+ while ((entry = (ReorderBufferRelFileLocatorEnt *)
hash_seq_search(&status)) != NULL)
+ {
+ /*
+ * If relid is InvalidOid, signaling a complete reset, we must remove
+ * all entries, otherwise just remove the specific relation's entry.
+ * Always remove negative cache entries.
+ */
+ if (relid == InvalidOid || /* complete reset */
+ entry->relid == InvalidOid || /* negative cache entry */
+ entry->relid == relid) /* individual flushed relation */

6a.
Maybe uppercase that 1st comment.

~

6b.
It seems a bit unusual to be referring to "negative cache entries". I
thought it should be described in terms of InvalidOid since that is
what it is using in the condition.

~

6c.
If the relid parameter can take special values like "If relid is
InvalidOid, signaling a complete reset" that sounds like the kind of
thing that should be documented in the function comment.

~~~

ReorderBufferFilterByRelFileLocator

7.
Despite the extra indenting required, I wondered if the logic may be
easier to read (e.g. it shows the association of the
rb->can_filter_change and entry->filterable more clearly) if this is
refactored slightly by sharing a single common return like below:

BEFORE
...
+ key.reltablespace = rlocator->spcOid;
+ key.relfilenumber = rlocator->relNumber;
+ entry = hash_search(RelFileLocatorFilterCache, &key, HASH_ENTER, &found);
+
+ if (found)
+ {
+ rb->can_filter_change = entry->filterable;
+ return entry->filterable;
+ }
...
+ rb->can_filter_change = entry->filterable;
...
+ return entry->filterable;
+}
AFTER
...
+ key.reltablespace = rlocator->spcOid;
+ key.relfilenumber = rlocator->relNumber;
+ entry = hash_search(RelFileLocatorFilterCache, &key, HASH_ENTER, &found);
+
+ if (!found)
+ {
...
+ }
+
+ rb->can_filter_change = entry->filterable;
+ return entry->filterable;
+}

======
src/include/replication/reorderbuffer.h

8.
+ /* should we try to filter the change? */
+ bool can_filter_change;
+

I think most of my difficulty reading this patch was due to this field
name 'can_filter_change'.

'can_filter_change' somehow sounded to me like it is past tense. e.g.
like as if we already found some change and we yes, we CAN filter it.

But AFAICT the real meaning is simply that (when the flag is true) we
are ALLOWED to check to see if there is anything filterable. In fact,
the change may or may not be filterable.

Can this be renamed to something more "correct"? e.g.
- 'allow_change_filtering'
- 'enable_change_filtering'
- etc.

~~

9.
+ /* number of changes after a failed attempt at filtering */
+ int8 processed_changes;

Maybe 'unfiltered_changes_count' is a better name for this field?

~~~

10.
+extern bool ReorderBufferCanFilterChanges(ReorderBuffer *rb);

Should match the 'can_filter_change' field name, so if you change that
(see comment #8), then change this too.

======
Kind Regards,
Peter Smith.
Fujitsu Australia

#18Amit Kapila
amit.kapila16@gmail.com
In reply to: Ajin Cherian (#16)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

On Wed, Feb 12, 2025 at 10:41 AM Ajin Cherian <itsajin@gmail.com> wrote:

On Wed, Jan 29, 2025 at 9:31 AM Peter Smith <smithpb2250@gmail.com> wrote:

Hi Ajin,

Some review comments for patch v12-0001.

======
Commit message

1.
Track transactions which have snapshot changes with a new flag
RBTXN_HAS_SNAPSHOT_CHANGES

~

The commit message only says *what* it does, but not *why* this patch
even exists. TBH, I don't understand why this patch needs to be
separated from your patch 0002, because 0001 makes no independent use
of the flag, nor is it separately tested.

Anyway, if it is going to remain separated then IMO at least the the
message should explain the intended purpose e.g. why the subsequent
patches require this flagged info and how they will use it.

Fixed.

I still can't get from 0001's commit message the reason for tracking
the snapshot changes separately. Also, please find my comments for
0002's commit message.

When most changes in a transaction are unfilterable, the overhead of
starting a transaction for each record is significant.

Can you tell what is the exact overhead by testing it? IIRC, that was
the initial approach. It is better if you can mention in the commit
message what was overhead. It will be easier for reviewers.

To reduce this overhead a hash cache of relation file locators is
created. Even then a hash search for every record before recording has
considerable overhead especially for use cases where most tables in an
instance are published.

Again, can you share the link of performance data for this overhead
and if you have not published then please share it and also mention it
in commit message?

To further reduce this overhead a simple approach is used to suspend
filtering for a certain number of changes (100) when an unfilterable
change is encountered. In other words, continue filtering changes if
the last record was filtered out. If an unfilterable change is found,
skip filtering the next 100 changes.

Can we try different thresholds for this like 10, 50, 100, 200, etc.
to decide what is a good threshold value to skip filtering changes?

--
With Regards,
Amit Kapila.

#19Peter Smith
smithpb2250@gmail.com
In reply to: Ajin Cherian (#16)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

Hi Ajin.

FYI - Patch set v13* no longer applies cleanly. Needs rebasing.

======
Kind Regards,
Peter Smith.
Fujitsu Australia

#20Ajin Cherian
itsajin@gmail.com
In reply to: Peter Smith (#19)
Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding

On Mon, Feb 17, 2025 at 10:08 AM Peter Smith <smithpb2250@gmail.com> wrote:

Hi Ajin.

FYI - Patch set v13* no longer applies cleanly. Needs rebasing.

I've rebased the patch. I've also merged patch 1 into patch 2 as the
functionality of the changes in patch 1 are only n patch 2.

On Mon, Feb 17, 2025 at 10:08 AM Peter Smith <smithpb2250@gmail.com> wrote:

Hi Ajin.

FYI - Patch set v13* no longer applies cleanly. Needs rebasing.

I've rebased the patch. I've also merged patch 1 into patch 2 as the
functionality of the changes in patch 1 are only in patch 2. So only 2
patches in this version.

On Fri, Feb 14, 2025 at 6:18 PM Amit Kapila <amit.kapila16@gmail.com> wrote:

Again, can you share the link of performance data for this overhead
and if you have not published then please share it and also mention it
in commit message?

I will run the performance tests and post an update with the results.

Can we try different thresholds for this like 10, 50, 100, 200, etc.
to decide what is a good threshold value to skip filtering changes?

Ok, will do this. For this patch, I reset the count to 0, else the
test case fails as filtering could be skipped due to throttling. I
think we need a way for the user to set this threshold via a GUC and
that can be used for testing.

regards,
Ajin Cherian
Fujitsu Australia

Attachments:

v14-0001-Filter-transactions-that-need-not-be-published.patchapplication/octet-stream; name=v14-0001-Filter-transactions-that-need-not-be-published.patchDownload+411-69
v14-0002-Introduce-a-output-plugin-callback-to-filter-cha.patchapplication/octet-stream; name=v14-0002-Introduce-a-output-plugin-callback-to-filter-cha.patchDownload+311-16
#21Ajin Cherian
itsajin@gmail.com
In reply to: Amit Kapila (#18)
#22Ajin Cherian
itsajin@gmail.com
In reply to: Ajin Cherian (#21)
#23Hayato Kuroda (Fujitsu)
kuroda.hayato@fujitsu.com
In reply to: Ajin Cherian (#21)
#24Hayato Kuroda (Fujitsu)
kuroda.hayato@fujitsu.com
In reply to: Ajin Cherian (#20)
#25Shlok Kyal
shlok.kyal.oss@gmail.com
In reply to: Ajin Cherian (#20)
#26Ajin Cherian
itsajin@gmail.com
In reply to: Hayato Kuroda (Fujitsu) (#23)
#27Ajin Cherian
itsajin@gmail.com
In reply to: Ajin Cherian (#26)
#28Amit Kapila
amit.kapila16@gmail.com
In reply to: Ajin Cherian (#27)
#29Peter Smith
smithpb2250@gmail.com
In reply to: Ajin Cherian (#20)
#30Peter Smith
smithpb2250@gmail.com
In reply to: Ajin Cherian (#20)
#31Hayato Kuroda (Fujitsu)
kuroda.hayato@fujitsu.com
In reply to: Hayato Kuroda (Fujitsu) (#24)
#32Ajin Cherian
itsajin@gmail.com
In reply to: Amit Kapila (#28)
#33Ajin Cherian
itsajin@gmail.com
In reply to: Ajin Cherian (#32)
#34Ajin Cherian
itsajin@gmail.com
In reply to: Hayato Kuroda (Fujitsu) (#24)
#35Ajin Cherian
itsajin@gmail.com
In reply to: Ajin Cherian (#34)
#36Ajin Cherian
itsajin@gmail.com
In reply to: Ajin Cherian (#35)
#37Ajin Cherian
itsajin@gmail.com
In reply to: Ajin Cherian (#36)
#38Shlok Kyal
shlok.kyal.oss@gmail.com
In reply to: Ajin Cherian (#37)
#39Shlok Kyal
shlok.kyal.oss@gmail.com
In reply to: Ajin Cherian (#37)
#40Peter Smith
smithpb2250@gmail.com
In reply to: Ajin Cherian (#37)
#41Peter Smith
smithpb2250@gmail.com
In reply to: Ajin Cherian (#37)
#42Peter Smith
smithpb2250@gmail.com
In reply to: Ajin Cherian (#37)
#43Peter Smith
smithpb2250@gmail.com
In reply to: Ajin Cherian (#37)
#44Ajin Cherian
itsajin@gmail.com
In reply to: Peter Smith (#43)
#45Peter Smith
smithpb2250@gmail.com
In reply to: Ajin Cherian (#44)
#46Peter Smith
smithpb2250@gmail.com
In reply to: Ajin Cherian (#44)
#47Peter Smith
smithpb2250@gmail.com
In reply to: Peter Smith (#43)
#48Ajin Cherian
itsajin@gmail.com
In reply to: Peter Smith (#47)
#49Peter Smith
smithpb2250@gmail.com
In reply to: Ajin Cherian (#48)
#50Ajin Cherian
itsajin@gmail.com
In reply to: Peter Smith (#49)
#51Amit Kapila
amit.kapila16@gmail.com
In reply to: Ajin Cherian (#50)
#52Ajin Cherian
itsajin@gmail.com
In reply to: Amit Kapila (#51)
#53Ajin Cherian
itsajin@gmail.com
In reply to: Ajin Cherian (#52)
#54Ajin Cherian
itsajin@gmail.com
In reply to: Ajin Cherian (#53)