[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] {dirty} & {deleted}
- To: coldsync-hackers at lusars dot net
- Subject: Re: [coldsync-hackers] {dirty} & {deleted}
- From: Andrew Arensburger <arensb+CShackers at ooblick dot com>
- Date: Sun, 28 Mar 2004 00:21:21 -0500
- In-reply-to: <4065E408.30608@84andahalf.com>
- Mail-followup-to: coldsync-hackers at lusars dot net
- References: <4065E408.30608@84andahalf.com>
- Reply-to: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
- User-agent: Mutt/1.4.1i
On Sat, Mar 27, 2004 at 08:28:56PM +0000, Marco van Beek wrote:
> Also, does anyone have an opinion as to whether a sync conduit should
> look for modified handheld records first, or modified desktop records first?
Well, the logic is symmetric, at least in the generic conduit:
there are (at least) four cases, depending on whether the PDA/desktop
record is clean/dirty:
PDA clean, desktop clean: nothing to do
PDA clean, desktop dirty: upload from desktop
PDA dirty, desktop clean: download from PDA
PDA dirty, desktop dirty: create a second record, copy both ways.
In other words, it doesn't really matter, since you're going to have
to look at both sets of records anyway.
But as Christophe pointed out, if the connection is flaky, or
if the PDA is dying, it's probably more important to get the
information off of the PDA while you still can.
Of course, this sort of bullet-proof reliability tends to be
rather hard to code. You might decide that it's more trouble than it's
worth. Or not.
--
Andrew Arensburger This message *does* represent the
arensb@ooblick.com views of ooblick.com
Misery loves company, but company does not reciprocate.
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.