Code Review Request: 7186555: (prefs) continual printing of BackingStoreException on console on Linux
Kurchi Hazra
kurchi.subhra.hazra at oracle.com
Tue May 21 18:46:08 UTC 2013
Right - I think I can disable syncing attempts for a file once we get an
EACCESS error code . Locked files
should return EAGAIN. I'll have to check on how this works on
Solaris/Linux/Mac and will follow up.
Thanks for digging up the history.
- Kurchi
On 5/21/2013 10:28 AM, Mike Duigou wrote:
> On May 21 2013, at 10:04 , Kurchi Subhra Hazra wrote:
>
>> On 5/21/13 9:53 AM, Kurchi Subhra Hazra wrote:
>>> On 5/21/13 9:40 AM, Mike Duigou wrote:
>>>> Any chance that it would be possible to stop the periodic attempts to sync preferences?
>>> - I did think of that too - but the syncing may fail(temporarily) if the prefs object could not retrieve the lock to the
>>> associated prefs file. We could stop syncing attempts if the sync fails say n number of times - but I do not think
>>> that is a good solution.
>> - Just to add, why I don't think the above is a good solution, one might be trying to acquire lock on a remote file
>> over NFS, and the syncing may fail temporarily because of an erratic network connection.
> Understood. The flip side of this is that we could have an unproductive process that consumes network resources every second for the entire life of the VM. Some kind of compromise that handles transient failures while also not mindlessly making attempts that will never work is needed.
>
> Mike
--
-Kurchi
More information about the core-libs-dev
mailing list