[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Does sync do whole record or just fields that changed?
- To: coldsync-hackers at lusars dot net
- Subject: Re: [coldsync-hackers] Does sync do whole record or just fields that changed?
- From: Andrew Arensburger <arensb+CShackers at ooblick dot com>
- Date: Mon, 22 Jul 2002 10:20:14 -0400
- In-Reply-To: <20020722.aT6.85165600@192.168.0.1>; from bjohnson@jecinc.on.ca on Mon, Jul 22, 2002 at 01:29:58PM +0000
- References: <20020722.aT6.85165600@192.168.0.1>
- Reply-To: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
- User-Agent: Mutt/1.2.5.1i
On Mon, Jul 22, 2002 at 01:29:58PM +0000, Brian Johnson wrote:
> Does the generic sync conduit transfer the whole record of just the fi
>>elds that
> changed?
The whole record. The generic conduit knows nothing about the
internal structure of the record: it's just a sequence of bytes.
> I just wondered what happens if both sources change, but the change is on
> different fields
>
> eg. addressbook
> server copy changes lastname
> palm copy changes phone number
In that case, the generic conduit knows (from the flags) that
both copies have changed. It then does a bitwise comparison of the two
records, in case the same change was made to both copies. In this
case, the two records really are different, so the generic conduit
plays it safe by creating a new record, which it copies to both Palm
and desktop.
So both the Palm and the desktop will wind up with two
versions of your AddressBook entry: one with the Palm's changes, and
one with the desktop's changes. You'll have to update one of them
manually and delete the other one (either on the Palm or on the
desktop). This isn't ideal, but it's better than having ColdSync
delete one version or the other and risking deleting the wrong one.
--
Andrew Arensburger This message *does* represent the
arensb@ooblick.com views of ooblick.com
Yeah? I'll fight ya with one arm tied behind your back!
--
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.