Added more logging to service.js to help me figure out the caching problem.
authorjonathandicarlo@jonathan-dicarlos-macbook-pro.local
Mon, 02 Mar 2009 23:55:05 -0800
changeset 45314 5f40eaed4b7a8b61577f99f7f744a61e999e927e
parent 45308 42a55d7876d90e29387da4d8dcc8a730e530ea90
child 45315 43d1c9e048877e27b24de37cd1cea96e1cf925fd
push idunknown
push userunknown
push dateunknown
Added more logging to service.js to help me figure out the caching problem.
services/sync/modules/service.js
--- a/services/sync/modules/service.js
+++ b/services/sync/modules/service.js
@@ -572,19 +572,16 @@ WeaveSvc.prototype = {
     let self = yield;
     let ret = false; // false to abort sync
     let reset = false;
 
     this._log.debug("Fetching global metadata record");
     let meta = yield Records.import(self.cb, this.clusterURL +
 				    this.username + "/meta/global");
 
-    // DEBUG: Just for now, i'm turning off wiping of server based on version
-    // mismatch.  Don't commit this line:
-    meta.payload.storageVersion = MIN_SERVER_STORAGE_VERSION; // this
     this._log.debug("Min server storage version is " + MIN_SERVER_STORAGE_VERSION);
     if (meta) {
           this._log.debug("payload storage version is " +
                           meta.payload.storageVersion);
     }
 
     if (!meta || !meta.payload.storageVersion || !meta.payload.syncID ||
         Svc.Version.compare(MIN_SERVER_STORAGE_VERSION,