re: CoreData database sharing and migration
re: CoreData database sharing and migration
- Subject: re: CoreData database sharing and migration
- From: Steve Steinitz <email@hidden>
- Date: Thu, 18 Mar 2010 09:29:25 +1100
Hello
On 17/3/10, email@hidden wrote:
Do you mean "more than one application simultaneously on more than one physical computer over NFS/AFP/SMB" ? Don't do that.
When did that become the official policy, Ben?
I'm doing that with some success. For the past three years, my
client's point of sale system has been connecting from five
machines to a single database on a Synology network drive over
afp. I had to write some code to periodically get the latest
values from the database during idle time. That was a little
complicated but its working well now.
There are mysterious but harmless optimistic locking errors once
in a while where no attributes appear have changed -- just to
keep me on my toes, along with an occasional real data collision
(two staff members carelessly editing the same object) but we've
had no real issues in a year or so.
However, 10.6.2 has a bug where only one machine can connect to
a Core Data store (its likely a sqlite-level connection issue --
but I'm not sure). So, for a while we were down to one
machine. I eventually had to roll the five machines back to
Leopard. That remains a PR nightmare.
Best regards,
Steve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden