java - Issues with Google appengine HRD migration -
i migrated database master slave hrd (google appengine) , running multiple issues:
- mis-match in number of entities
we had 81543 records before migration while there 71669 records post migration. unsure why several thousands of records missing
before migration - http://snag.gy/bwbx2.jpg post migration - http://snag.gy/r6iao.jpg
- some records accessible datastore viewer, fails fetch them on querying api
ex: "users" table contained user - demo1@xyz.com , gql query
select * users user_id='demo1@xyz.com'
api call fails:
query query = new query("users"); query.addfilter("user_id", filteroperator.equal, request.getparameter("user_id")); // datastore datastoreservice datastore = datastoreservicefactory.getdatastoreservice(); // preparedquery contains methods fetching query results // datastore preparedquery pq = datastore.prepare(query); // results (entity result : pq.asiterable()) { system.out.println("result = " + result); }
can please asap.
thanks
Comments
Post a Comment