[Sugar-devel] Potential data loss problem in collaboration

Martin Langhoff martin.langhoff at gmail.com
Mon Jun 20 10:43:26 EDT 2011


Hi Sridhar,

Simon is doing a lot of work in this area -- please do file this in
dev.l.o. The steps to repro are good, just add precise versions of the
OS and the affected activities.

cheers,



m

On Mon, Jun 20, 2011 at 10:37 AM, Sridhar Dhanapalan
<sridhar at laptop.org.au> wrote:
> We have found a problem that could lead to data loss in the field.
>
> General summary:
>
>    A shares an activity
>    B connects to A's shared instance
>    Collaborative work is done by A and B
>    A closes the activity
>    B continues to work on the activity (maybe they didn't realise
> that A has left)
>    A shares again
>    B connects
>    Everything B has worked on since A left the first time is lost
>
> This example uses the Write activity, but it can happen with any activity:
>
>    A begins activity
>    A types something (text is “AA” now)
>    A shares the activity
>    B joins activity
>    B types something (text is “AABB” now)
>    A closes activity (Text saved in A’s journal is AABB)
>    B continues to write something (text is “AABBCC” now)
>    B also closes activity (Text saved in B’s journal is AABBCC)
>    Now B opens the same activity from B’s journal. B is able to see
> the text AABBCC now.
>    B closes the activity.
>    Now A opens the activity from journal. Text is AABB now.
>    A shares the activity again.
>    B joins the activity from the neighbourhood view since it is
> shared. Text in B’s XO is AABB now.
>    A and B close the activity.
>    Now when B opens the activity from the journal again, only AABB is
> seen (text CC is lost).
>
>
> Sridhar
>
>
> Sridhar Dhanapalan
> Technical Manager
> One Laptop per Child Australia
> M: +61 425 239 701
> E: sridhar at laptop.org.au
> A: G.P.O. Box 731
>      Sydney, NSW 2001
> W: www.laptop.org.au
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Sugar-devel mailing list