[Bugs] #1787 UNSP: rebuild index on migration

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Mar 4 18:24:32 EST 2010

#1787: rebuild index on migration
    Reporter:  sascha_silbe               |          Owner:  sascha_silbe     
        Type:  defect                     |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.88             
   Component:  sugar-datastore            |        Version:  Git as of bugdate
    Severity:  Major                      |       Keywords:  r?               
Distribution:  Unspecified                |   Status_field:  Assigned         
 Currently we force an index rescan on migration, but not a rebuild.  Any
 entry that's already in the index will ''not'' be updated.
 This patch fixes the migration logic to do a full index rebuild, thus
 actually migrating the index.

 This issue should cause the version 1 -> version 2 update not to happen,
 but I currently don't have any version 1 data to verify against. I noticed
 it because it affects version 2 (mainline) -> version 3 (version support
 branch) migrations.

 We'll probably want to backport this to 0.86 as well.

Ticket URL: <http://bugs.sugarlabs.org/ticket/1787>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system

More information about the Bugs mailing list