Home | History | Annotate | Download | only in testserver

Lines Matching refs:datatypes

149   """A server-side migration occurred; clients must re-sync some datatypes.
152 datatypes: a list of the datatypes (python enum) needing migration.
155 def __init__(self, datatypes):
156 self.datatypes = datatypes
270 This function is intended for use by logging. If the list of datatypes
272 in terms of the datatypes that aren't set.
328 Each migration event invalidates one or more datatypes on all clients
350 version_map: a map whose keys are datatypes and whose values are versions.
363 def Bump(self, datatypes):
365 for idx, datatype in enumerate(datatypes):
421 """Return true the smallest timestamp requested across all datatypes."""
425 """Return a list of datatypes requesting updates from timestamp zero."""
1001 def TriggerMigration(self, datatypes):
1002 """Cause a migration to occur for a set of datatypes on this account.
1004 Clients will see the MIGRATION_DONE error for these datatypes until they
1007 versions_to_remap = self.migration_history.Bump(datatypes)
1200 datatypes = [DataTypeStringToSyncTypeLoose(x)
1202 if datatypes:
1203 self.account.TriggerMigration(datatypes)
1204 response = 'Migrated datatypes %s' % (
1205 ' and '.join(SyncTypeToString(x).upper() for x in datatypes))
1366 print 'MIGRATION_DONE: <%s>' % (ShortDatatypeListSummary(error.datatypes))
1371 SyncTypeToProtocolDataTypeId(x) for x in error.datatypes]