Code Review Request: 7186555: (prefs) continual printing of BackingStoreException on console on Linux

Mike Duigou mike.duigou at oracle.com
Tue May 21 17:28:46 UTC 2013


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


More information about the core-libs-dev mailing list