[USS] ModelTypeStore LevelDB is created before backend deletes sync folder |
||||
Issue descriptionIt seems to only affect Windows, but right now we pass a callback to DeviceInfoSyncBridge to create the LevelDB [1] before we get the callback from the engine telling us that it is initialized. This is a big problem, because part of what the engine does is delete the entire Sync Data/ folder, which contains the LevelDB [2]. This creates a race condition that Windows integ tests are running into [3]. [1] https://cs.chromium.org/chromium/src/components/browser_sync/profile_sync_service.cc?q=DeviceInfoSyncBridge&sq=package:chromium&l=313&dr=C [2] https://cs.chromium.org/chromium/src/components/sync/driver/glue/sync_backend_host_core.cc?sq=package:chromium&dr=CSs&l=380 [3] https://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/331517/steps/compile%20%28with%20patch%29/logs/stdio
,
Dec 20 2016
,
Dec 20 2016
,
Dec 21 2016
|
||||
►
Sign in to add a comment |
||||
Comment 1 by bugdroid1@chromium.org
, Dec 20 2016