Re: [PATCHES] Fix mdsync never-ending loop problem

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org, Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>
Subject: Re: [PATCHES] Fix mdsync never-ending loop problem
Date: 2007-04-06 06:05:35
Message-ID: 20070406142846.6A19.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Heikki Linnakangas <heikki(at)enterprisedb(dot)com> wrote:
> Itagaki, would you like to take a stab at this?

Yes, I'll try to fix the mdsync problem. I'll separate this fix from LDC
patch. If we need to backport the fix to the back branches, a stand-alone
patch would be better.

In my understanding from the discussion, we'd better to take "cycle ID"
approach instead of "making a copy of pendingOpsTable", because duplicated
table is hard to debug and requires us to pay attention not to leak memories.
I'll adopt the cycle ID approach and build LDC on it as a separate patch.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-04-06 06:08:59 Re: Optimized pgbench for 8.3
Previous Message Tom Lane 2007-04-06 05:56:36 Re: Auto Partitioning

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-04-06 06:08:59 Re: Optimized pgbench for 8.3
Previous Message Tom Lane 2007-04-06 05:56:36 Re: Auto Partitioning