Hi guys, I've got logs from one of our installations with a pretty weird problem.
We just happen to log immediately before ec.saveChanges() gets called; and we happen to have a DatabaseContextDelegate.databaseContextWillPerformAdaptorOperations, which logs out soon as it is called. In this one log, the delay betw. those two logs — ie., the time saveChanges spends before the delegate method is called — repeatedly grows up to almost a minute (!) After some time the problem disappears and saving works normally; and then it occurs again. There's no other log around (most other threads wait on the OSC lock anyway), and with our app it so happens there's only one item in the adaptor op array to be inserted or updated. Once or twice there even has been nothing to save at all (ie., no changes in the EC when saveChanges was called), but even so, saveChanges took almost a minute before it returned. Can't be 100 % sure, but most probably, it was the very same problem; it is highly probable thus it does not depend on the enterprise objects being saved, but on something else. It never happened in any other installation of the same application, including my development one and our test one. Have you ever bumped into something like that? Any idea what might be the culprit and how to hunt the bug? Thanks a lot, OC
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com