Indexes being rebuilt every restart (Customer=38)
v1.7.3 Looks like something has broken the logic that determines if rebuilding the indexes is necessasry. From what I can tell, this is based on the OPaginatedStorageDirtyFlag state. During shutdown (after checkin id=338d750) false is passed to the onDelete parameter during the close call on line 271 of OLocalPaginatedStorage. That ultimately gets passed down into doClose() call and evaluated on line 1969 where it clears the dirty flag and closes the file. On startup, in the OLocalPaginatedStorage.open call line 200, our database falls into the else clause and creates the dirty flag which then deletes the existing file, creates a new one and sets the dirty flag to true. This then kicks off the index rebuild. Our database is large and rebuilding the indexes takes 5+ minutes. We cannot have that every time we restart. Can someone please look into this? I can provide the database to test with.
Further information. I am just starting the dserver app with my DB to test this. No further code is needed to reproduce.
Hi This is already fixed in 1.7.4 branch.