Closed Bug 443085 Opened 16 years ago Closed 15 years ago

Delay between sync tryes must contain random part to prevent rush on locks

Categories

(Cloud Services :: General, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: iav, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1pre) Gecko/2008070102 SeaMonkey/2.0a1pre
Build Identifier: 0.2

Now weave tries to sync every 30 seconds if it see lock on server. 
This provocate lock war between concurrent sessions. 

Interval should not be constant, it have to contain random variable part. For example 30 sec + random from 0 to 30 sec. 

This technology applies in many collision-aware solutions, like ethernet or RIP protocols.

Reproducible: Always
We no longer need to lock, so this enhancement is no longer necessary.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: Weave → General
Product: Mozilla Labs → Weave
Target Milestone: -- → ---
Component: Weave → General
Product: Mozilla Labs → Weave
Target Milestone: -- → ---
QA Contact: weave → general
You need to log in before you can comment on or make changes to this bug.