[galaxy-dev] [hg] galaxy 3015: Fix most of the db flushes to be compatibel wi...