:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(personhog): add person version floors to the replica (#111465)
Eli Reisman15af210ef132
diff --git a/nodejs/src/common/generated/personhog/personhog/service/v1/service_pb.ts b/nodejs/src/common/generated/personhog/personhog/service/v1/service_pb.tsindex 63a4fb5f0b3b..398d1217a609 100644--- a/nodejs/src/common/generated/personhog/personhog/service/v1/service_pb.ts+++ b/nodejs/src/common/generated/personhog/personhog/service/v1/service_pb.ts@@ -69,6 +69,8 @@ import type {DeletePersonsResponseSchema,DeleteTombstonedPersonsRequestSchema,DeleteTombstonedPersonsResponseSchema,+ EnsurePersonVersionFloorsRequestSchema,+ EnsurePersonVersionFloorsResponseSchema,FencePersonRequestSchema,FencePersonResponseSchema,FencePersonsRequestSchema,@@ -115,7 +117,7 @@ import { file_personhog_types_v1_person } from '../../types/v1/person_pb'export const file_personhog_service_v1_service: GenFile =/*@__PURE__*/fileDesc(- 'CiJwZXJzb25ob2cvc2VydmljZS92MS9zZXJ2aWNlLnByb3RvEhRwZXJzb25ob2cuc2VydmljZS52MTLULgoQUGVyc29uSG9nU2VydmljZRJYCglHZXRQZXJzb24SJC5wZXJzb25ob2cudHlwZXMudjEuR2V0UGVyc29uUmVxdWVzdBolLnBlcnNvbmhvZy50eXBlcy52MS5HZXRQZXJzb25SZXNwb25zZRJYCgpHZXRQZXJzb25zEiUucGVyc29uaG9nLnR5cGVzLnYxLkdldFBlcnNvbnNSZXF1ZXN0GiMucGVyc29uaG9nLnR5cGVzLnYxLlBlcnNvbnNSZXNwb25zZRJkCg9HZXRQZXJzb25CeVV1aWQSKi5wZXJzb25ob2cudHlwZXMudjEuR2V0UGVyc29uQnlVdWlk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VzLnYxLkxpc3RQZXJzb25Ub21ic3RvbmVRdWV1ZVJlcXVlc3QaNC5wZXJzb25ob2cudHlwZXMudjEuTGlzdFBlcnNvblRvbWJzdG9uZVF1ZXVlUmVzcG9uc2USXgoLU3BsaXRQZXJzb24SJi5wZXJzb25ob2cudHlwZXMudjEuU3BsaXRQZXJzb25SZXF1ZXN0GicucGVyc29uaG9nLnR5cGVzLnYxLlNwbGl0UGVyc29uUmVzcG9uc2USmgEKH1NldFBlcnNvbkRpc3RpbmN0SWRWZXJzaW9uRmxvb3ISOi5wZXJzb25ob2cudHlwZXMudjEuU2V0UGVyc29uRGlzdGluY3RJZFZlcnNpb25GbG9vclJlcXVlc3QaOy5wZXJzb25ob2cudHlwZXMudjEuU2V0UGVyc29uRGlzdGluY3RJZFZlcnNpb25GbG9vclJlc3BvbnNlEnwKFVNldFBlcnNvblZlcnNpb25GbG9vchIwLnBlcnNvbmhvZy50eXBlcy52MS5TZXRQZXJzb25WZXJzaW9uRmxvb3JSZXF1ZXN0GjEucGVyc29uaG9nLnR5cGVzLnYxLlNldFBlcnNvblZlcnNpb25GbG9vclJlc3BvbnNlEogBChlFbnN1cmVQZXJzb25WZXJzaW9uRmxvb3JzEjQucGVyc29uaG9nLnR5cGVzLnYxLkVuc3VyZVBlcnNvblZlcnNpb25GbG9vcnNSZXF1ZXN0GjUucGVyc29uaG9nLnR5cGVzLnYxLkVuc3VyZVBlcnNvblZlcnNpb25GbG9vcnNSZXNwb25zZWIGcHJvdG8z',[file_personhog_types_v1_person,file_personhog_types_v1_group,@@ -568,4 +570,15 @@ export const PersonHogService: GenService<{input: typeof SetPersonVersionFloorRequestSchemaoutput: typeof SetPersonVersionFloorResponseSchema}+ /**+ * Version floors for the ClickHouse cleanup jobs.+ * The write goes to the primary: same routing caveat as DeletePersons above.+ *+ * @generated from rpc personhog.service.v1.PersonHogService.EnsurePersonVersionFloors+ */+ ensurePersonVersionFloors: {+ methodKind: 'unary'+ input: typeof EnsurePersonVersionFloorsRequestSchema+ output: typeof EnsurePersonVersionFloorsResponseSchema+ }}> = /*@__PURE__*/ serviceDesc(file_personhog_service_v1_service, 0)diff --git a/nodejs/src/common/generated/personhog/personhog/types/v1/person_pb.ts b/nodejs/src/common/generated/personhog/personhog/types/v1/person_pb.tsindex fd2f30133adb..529baaa889a5 100644--- a/nodejs/src/common/generated/personhog/personhog/types/v1/person_pb.ts+++ b/nodejs/src/common/generated/personhog/personhog/types/v1/person_pb.ts@@ -13,7 +13,7 @@ import { file_personhog_types_v1_common } from './common_pb'export const file_personhog_types_v1_person: GenFile =/*@__PURE__*/fileDesc(- 'Ch9wZXJzb25ob2cvdHlwZXMvdjEvcGVyc29uLnByb3RvEhJwZXJzb25ob2cudHlwZXMudjEisgIKBlBlcnNvbhIKCgJpZBgBIAEoAxIMCgR1dWlkGAIgASgJEg8KB3RlYW1faWQYAyABKAMSEgoKcHJvcGVydGllcxgEIAEoDBIiChpwcm9wZXJ0aWVzX2xhc3RfdXBkYXRlZF9hdBgFIAEoDBIhChlwcm9wZXJ0aWVzX2xhc3Rfb3BlcmF0aW9uGAYgASgMEhIKCmNyZWF0ZWRfYXQYByABKAMSDwoHdmVyc2lvbhgIIAEoAxIVCg1pc19pZGVudGlmaWVkGAkgASgIEhcKCmlzX3VzZXJfaWQYCiABKAhIAIgBARIZCgxsYXN0X3NlZW5fYXQYCyABKANIAYgBARISCgppc19kZWxldGVkGAwgASgIQg0KC19pc191c2VyX2lkQg8KDV9sYXN0X3NlZW5fYXQiZgoVRGlzdGluY3RJZFdpdGhWZXJzaW9uEhMKC2Rpc3RpbmN0X2lkGAEgASgJEhQKB3ZlcnNpb24YAiABKANIAIgBARIPCgJpZBgDIAEoA0gBiAEBQgoKCF92ZXJzaW9uQgUKA19pZCJoChVQZXJzb25XaXRoRGlzdGluY3RJZHMSEwoLZGlzdGluY3RfaWQYASABKAkSLwoGcGVyc29uGAIgASgLMhoucGVyc29uaG9nLnR5cGVzLnYxLlBlcnNvbkgAiAEBQg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9SQUlTRUQQAhIsCihWRVJTSU9OX0ZMT09SX09VVENPTUVfVE9NQlNUT05FX0FUX0ZMT09SEAMSHgoaVkVSU0lPTl9GTE9PUl9PVVRDT01FX0xJVkUQBCpvCg9MaWZlY3ljbGVPcFR5cGUSIQodTElGRUNZQ0xFX09QX1RZUEVfVU5TUEVDSUZJRUQQABIcChhMSUZFQ1lDTEVfT1BfVFlQRV9ERUxFVEUQARIbChdMSUZFQ1lDTEVfT1BfVFlQRV9NRVJHRRACKm0KDlJlbGVhc2VPdXRjb21lEh8KG1JFTEVBU0VfT1VUQ09NRV9VTlNQRUNJRklFRBAAEh0KGVJFTEVBU0VfT1VUQ09NRV9DT01NSVRURUQQARIbChdSRUxFQVNFX09VVENPTUVfQUJPUlRFRBACYgZwcm90bzM',[file_personhog_types_v1_common])@@ -1395,6 +1395,109 @@ export const SetPersonVersionFloorResponseSchema: GenMessage<SetPersonVersionFlo/*@__PURE__*/messageDesc(file_personhog_types_v1_person, 44)+/**+ * @generated from message personhog.types.v1.PersonVersionFloor+ */+export type PersonVersionFloor = Message<'personhog.types.v1.PersonVersionFloor'> & {+ /**+ * @generated from field: string person_uuid = 1;+ */+ personUuid: string++ /**+ * @generated from field: int64 min_version = 2;+ */+ minVersion: bigint+}++/**+ * Describes the message personhog.types.v1.PersonVersionFloor.+ * Use `create(PersonVersionFloorSchema)` to create a new message.+ */+export const PersonVersionFloorSchema: GenMessage<PersonVersionFloor> =+ /*@__PURE__*/+ messageDesc(file_personhog_types_v1_person, 45)++/**+ * EnsurePersonVersionFloorsRequest raises each person tombstone to at least min_version in one transaction,+ * inserting a tombstone for a missing person and leaving a live person unchanged. Publish a ClickHouse tombstone+ * at the returned version for every non-LIVE result, because the Postgres cleanup drain removes only tombstones+ * the ClickHouse deletion sweep finds.+ *+ * @generated from message personhog.types.v1.EnsurePersonVersionFloorsRequest+ */+export type EnsurePersonVersionFloorsRequest = Message<'personhog.types.v1.EnsurePersonVersionFloorsRequest'> & {+ /**+ * @generated from field: int64 team_id = 1;+ */+ teamId: bigint++ /**+ * Max 250 per request. Duplicate person_uuids are rejected.+ *+ * @generated from field: repeated personhog.types.v1.PersonVersionFloor floors = 2;+ */+ floors: PersonVersionFloor[]+}++/**+ * Describes the message personhog.types.v1.EnsurePersonVersionFloorsRequest.+ * Use `create(EnsurePersonVersionFloorsRequestSchema)` to create a new message.+ */+export const EnsurePersonVersionFloorsRequestSchema: GenMessage<EnsurePersonVersionFloorsRequest> =+ /*@__PURE__*/+ messageDesc(file_personhog_types_v1_person, 46)++/**+ * @generated from message personhog.types.v1.PersonVersionFloorResult+ */+export type PersonVersionFloorResult = Message<'personhog.types.v1.PersonVersionFloorResult'> & {+ /**+ * @generated from field: string person_uuid = 1;+ */+ personUuid: string++ /**+ * @generated from field: personhog.types.v1.VersionFloorOutcome outcome = 2;+ */+ outcome: VersionFloorOutcome++ /**+ * The stored version after the call.+ *+ * @generated from field: int64 version = 3;+ */+ version: bigint+}++/**+ * Describes the message personhog.types.v1.PersonVersionFloorResult.+ * Use `create(PersonVersionFloorResultSchema)` to create a new message.+ */+export const PersonVersionFloorResultSchema: GenMessage<PersonVersionFloorResult> =+ /*@__PURE__*/+ messageDesc(file_personhog_types_v1_person, 47)++/**+ * @generated from message personhog.types.v1.EnsurePersonVersionFloorsResponse+ */+export type EnsurePersonVersionFloorsResponse = Message<'personhog.types.v1.EnsurePersonVersionFloorsResponse'> & {+ /**+ * Same order as the request.+ *+ * @generated from field: repeated personhog.types.v1.PersonVersionFloorResult results = 1;+ */+ results: PersonVersionFloorResult[]+}++/**+ * Describes the message personhog.types.v1.EnsurePersonVersionFloorsResponse.+ * Use `create(EnsurePersonVersionFloorsResponseSchema)` to create a new message.+ */+export const EnsurePersonVersionFloorsResponseSchema: GenMessage<EnsurePersonVersionFloorsResponse> =+ /*@__PURE__*/+ messageDesc(file_personhog_types_v1_person, 48)+/*** FencePersonRequest freezes a person for a lifecycle operation (see* PersonHogLeader.FencePerson). op_id is the saga's caller-supplied UUID;@@ -1430,7 +1533,7 @@ export type FencePersonRequest = Message<'personhog.types.v1.FencePersonRequest'*/export const FencePersonRequestSchema: GenMessage<FencePersonRequest> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 45)+ messageDesc(file_personhog_types_v1_person, 49)/*** @generated from message personhog.types.v1.FencePersonResponse@@ -1459,7 +1562,7 @@ export type FencePersonResponse = Message<'personhog.types.v1.FencePersonRespons*/export const FencePersonResponseSchema: GenMessage<FencePersonResponse> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 46)+ messageDesc(file_personhog_types_v1_person, 50)/*** FencePersonsRequest freezes many persons of one op in one call (see@@ -1496,7 +1599,7 @@ export type FencePersonsRequest = Message<'personhog.types.v1.FencePersonsReques*/export const FencePersonsRequestSchema: GenMessage<FencePersonsRequest> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 47)+ messageDesc(file_personhog_types_v1_person, 51)/*** Every requested person id lands in exactly one of the two lists; a@@ -1530,7 +1633,7 @@ export type FencePersonsResponse = Message<'personhog.types.v1.FencePersonsRespo*/export const FencePersonsResponseSchema: GenMessage<FencePersonsResponse> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 48)+ messageDesc(file_personhog_types_v1_person, 52)/*** @generated from message personhog.types.v1.FencedPersonSeal@@ -1563,7 +1666,7 @@ export type FencedPersonSeal = Message<'personhog.types.v1.FencedPersonSeal'> &*/export const FencedPersonSealSchema: GenMessage<FencedPersonSeal> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 49)+ messageDesc(file_personhog_types_v1_person, 53)/*** ReleaseFenceRequest closes a fence (see PersonHogLeader.ReleaseFence).@@ -1631,7 +1734,7 @@ export type ReleaseFenceRequest = Message<'personhog.types.v1.ReleaseFenceReques*/export const ReleaseFenceRequestSchema: GenMessage<ReleaseFenceRequest> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 50)+ messageDesc(file_personhog_types_v1_person, 54)/*** @generated from message personhog.types.v1.ReleaseFenceResponse@@ -1644,7 +1747,7 @@ export type ReleaseFenceResponse = Message<'personhog.types.v1.ReleaseFenceRespo*/export const ReleaseFenceResponseSchema: GenMessage<ReleaseFenceResponse> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 51)+ messageDesc(file_personhog_types_v1_person, 55)/*** ReleaseFencesRequest closes many fences of one op in one call (see@@ -1681,7 +1784,7 @@ export type ReleaseFencesRequest = Message<'personhog.types.v1.ReleaseFencesRequ*/export const ReleaseFencesRequestSchema: GenMessage<ReleaseFencesRequest> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 52)+ messageDesc(file_personhog_types_v1_person, 56)/*** @generated from message personhog.types.v1.ReleaseFenceItem@@ -1718,7 +1821,7 @@ export type ReleaseFenceItem = Message<'personhog.types.v1.ReleaseFenceItem'> &*/export const ReleaseFenceItemSchema: GenMessage<ReleaseFenceItem> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 53)+ messageDesc(file_personhog_types_v1_person, 57)/*** @generated from message personhog.types.v1.ReleaseFencesResponse@@ -1731,7 +1834,7 @@ export type ReleaseFencesResponse = Message<'personhog.types.v1.ReleaseFencesRes*/export const ReleaseFencesResponseSchema: GenMessage<ReleaseFencesResponse> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 54)+ messageDesc(file_personhog_types_v1_person, 58)/*** A sealed source snapshot paired with its precedence ordinal — the@@ -1759,7 +1862,7 @@ export type SealedSourceSnapshot = Message<'personhog.types.v1.SealedSourceSnaps*/export const SealedSourceSnapshotSchema: GenMessage<SealedSourceSnapshot> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 55)+ messageDesc(file_personhog_types_v1_person, 59)/*** FoldPersonDocumentRequest folds sealed source snapshots into the merge@@ -1835,7 +1938,7 @@ export type FoldPersonDocumentRequest = Message<'personhog.types.v1.FoldPersonDo*/export const FoldPersonDocumentRequestSchema: GenMessage<FoldPersonDocumentRequest> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 56)+ messageDesc(file_personhog_types_v1_person, 60)/*** @generated from message personhog.types.v1.FoldPersonDocumentResponse@@ -1863,7 +1966,7 @@ export type FoldPersonDocumentResponse = Message<'personhog.types.v1.FoldPersonD*/export const FoldPersonDocumentResponseSchema: GenMessage<FoldPersonDocumentResponse> =/*@__PURE__*/- messageDesc(file_personhog_types_v1_person, 57)+ messageDesc(file_personhog_types_v1_person, 61)/*** How DeletePersons removes the rows.@@ -1902,6 +2005,53 @@ export const DeletePersonsModeSchema: GenEnum<DeletePersonsMode> =/*@__PURE__*/enumDesc(file_personhog_types_v1_person, 0)+/**+ * What EnsurePersonVersionFloors found and did for one person.+ *+ * @generated from enum personhog.types.v1.VersionFloorOutcome+ */+export enum VersionFloorOutcome {+ /**+ * @generated from enum value: VERSION_FLOOR_OUTCOME_UNSPECIFIED = 0;+ */+ UNSPECIFIED = 0,++ /**+ * No row existed. The call inserted a tombstone at min_version.+ *+ * @generated from enum value: VERSION_FLOOR_OUTCOME_TOMBSTONE_INSERTED = 1;+ */+ TOMBSTONE_INSERTED = 1,++ /**+ * A tombstone below min_version. The call raised it to min_version.+ *+ * @generated from enum value: VERSION_FLOOR_OUTCOME_TOMBSTONE_RAISED = 2;+ */+ TOMBSTONE_RAISED = 2,++ /**+ * A tombstone at or above min_version. Nothing changed.+ *+ * @generated from enum value: VERSION_FLOOR_OUTCOME_TOMBSTONE_AT_FLOOR = 3;+ */+ TOMBSTONE_AT_FLOOR = 3,++ /**+ * A live row. Nothing changed: the call never raises a live row.+ *+ * @generated from enum value: VERSION_FLOOR_OUTCOME_LIVE = 4;+ */+ LIVE = 4,+}++/**+ * Describes the enum personhog.types.v1.VersionFloorOutcome.+ */+export const VersionFloorOutcomeSchema: GenEnum<VersionFloorOutcome> =+ /*@__PURE__*/+ enumDesc(file_personhog_types_v1_person, 1)+/*** The kind of lifecycle operation — mirrors lifecycle_op.op_type. The* canonical string mapping lives on this enum's impl in personhog-proto;@@ -1929,7 +2079,7 @@ export enum LifecycleOpType {/*** Describes the enum personhog.types.v1.LifecycleOpType.*/-export const LifecycleOpTypeSchema: GenEnum<LifecycleOpType> = /*@__PURE__*/ enumDesc(file_personhog_types_v1_person, 1)+export const LifecycleOpTypeSchema: GenEnum<LifecycleOpType> = /*@__PURE__*/ enumDesc(file_personhog_types_v1_person, 2)/*** @generated from enum personhog.types.v1.ReleaseOutcome@@ -1958,4 +2108,4 @@ export enum ReleaseOutcome {/*** Describes the enum personhog.types.v1.ReleaseOutcome.*/-export const ReleaseOutcomeSchema: GenEnum<ReleaseOutcome> = /*@__PURE__*/ enumDesc(file_personhog_types_v1_person, 2)+export const ReleaseOutcomeSchema: GenEnum<ReleaseOutcome> = /*@__PURE__*/ enumDesc(file_personhog_types_v1_person, 3)diff --git a/nodejs/src/common/personhog/client.test.ts b/nodejs/src/common/personhog/client.test.tsindex 5e533b80ca3c..e74c9bbf189e 100644--- a/nodejs/src/common/personhog/client.test.ts+++ b/nodejs/src/common/personhog/client.test.ts@@ -149,6 +149,7 @@ const SERVICE_DEFAULTS: ServiceImpl<typeof PersonHogService> = {splitPerson: () => ({ splits: [] }),setPersonDistinctIdVersionFloor: () => ({}),setPersonVersionFloor: () => ({ updated: false }),+ ensurePersonVersionFloors: () => ({ results: [] }),fencePerson: () => ({}),fencePersons: () => ({}),releaseFence: () => ({}),diff --git a/nodejs/src/common/personhog/persons.test.ts b/nodejs/src/common/personhog/persons.test.tsindex cbf996c25be1..4e3a8b1924d5 100644--- a/nodejs/src/common/personhog/persons.test.ts+++ b/nodejs/src/common/personhog/persons.test.ts@@ -84,6 +84,7 @@ const SERVICE_DEFAULTS: ServiceImpl<typeof PersonHogService> = {splitPerson: () => ({ splits: [] }),setPersonDistinctIdVersionFloor: () => ({}),setPersonVersionFloor: () => ({ updated: false }),+ ensurePersonVersionFloors: () => ({ results: [] }),fencePerson: () => ({}),fencePersons: () => ({}),releaseFence: () => ({}),diff --git a/packages/personhog-proto/personhog/service/v1/service_pb2.py b/packages/personhog-proto/personhog/service/v1/service_pb2.pyindex 5e6215dbadb6..5001c984e3d7 100644--- a/packages/personhog-proto/personhog/service/v1/service_pb2.py+++ b/packages/personhog-proto/personhog/service/v1/service_pb2.py@@ -28,7 +28,7 @@ from personhog.types.v1 import ()DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(- b"\n\"personhog/service/v1/service.proto\x12\x14personhog.service.v1\x1a\x1fpersonhog/types/v1/person.proto\x1a\x1epersonhog/types/v1/group.proto\x1a\x1fpersonhog/types/v1/cohort.proto\x1a%personhog/types/v1/feature_flag.proto2\xd4.\n\x10PersonHogService\x12X\n\tGetPerson\x12$.personhog.types.v1.GetPersonRequest\x1a%.personhog.types.v1.GetPersonResponse\x12X\n\nGetPersons\x12%.personhog.types.v1.GetPersonsRequest\x1a#.personhog.types.v1.PersonsResponse\x12\x64\n\x0fGetPersonByUuid\x12*.personhog.types.v1.GetPersonByUuidRequest\x1a%.personhog.types.v1.GetPersonResponse\x12\x66\n\x11GetPersonsByUuids\x12,.personhog.types.v1.GetPersonsByUuidsRequest\x1a#.personhog.types.v1.PersonsResponse\x12p\n\x15GetPersonByDistinctId\x12\x30.personhog.types.v1.GetPersonByDistinctIdRequest\x1a%.personhog.types.v1.GetPersonResponse\x12\x91\x01\n\x1dGetPersonsByDistinctIdsInTeam\x12\x38.personhog.types.v1.GetPersonsByDistinctIdsInTeamRequest\x1a\x36.personhog.types.v1.PersonsByDistinctIdsInTeamResponse\x12\x7f\n\x17GetPersonsByDistinctIds\x12\x32.personhog.types.v1.GetPersonsByDistinctIdsRequest\x1a\x30.personhog.types.v1.PersonsByDistinctIdsResponse\x12\x82\x01\n\x17GetDistinctIdsForPerson\x12\x32.personhog.types.v1.GetDistinctIdsForPersonRequest\x1a\x33.personhog.types.v1.GetDistinctIdsForPersonResponse\x12\x85\x01\n\x18GetDistinctIdsForPersons\x12\x33.personhog.types.v1.GetDistinctIdsForPersonsRequest\x1a\x34.personhog.types.v1.GetDistinctIdsForPersonsResponse\x12\x88\x01\n\x19GetHashKeyOverrideContext\x12\x34.personhog.types.v1.GetHashKeyOverrideContextRequest\x1a\x35.personhog.types.v1.GetHashKeyOverrideContextResponse\x12\x7f\n\x16UpsertHashKeyOverrides\x12\x31.personhog.types.v1.UpsertHashKeyOverridesRequest\x1a\x32.personhog.types.v1.UpsertHashKeyOverridesResponse\x12\x94\x01\n\x1d\x44\x65leteHashKeyOverridesByTeams\x12\x38.personhog.types.v1.DeleteHashKeyOverridesByTeamsRequest\x1a\x39.personhog.types.v1.DeleteHashKeyOverridesByTeamsResponse\x12w\n\x15\x43heckCohortMembership\x12\x30.personhog.types.v1.CheckCohortMembershipRequest\x1a,.personhog.types.v1.CohortMembershipResponse\x12s\n\x12\x43ountCohortMembers\x12-.personhog.types.v1.CountCohortMembersRequest\x1a..personhog.types.v1.CountCohortMembersResponse\x12s\n\x12\x44\x65leteCohortMember\x12-.personhog.types.v1.DeleteCohortMemberRequest\x1a..personhog.types.v1.DeleteCohortMemberResponse\x12\x82\x01\n\x17\x44\x65leteCohortMembersBulk\x12\x32.personhog.types.v1.DeleteCohortMembersBulkRequest\x1a\x33.personhog.types.v1.DeleteCohortMembersBulkResponse\x12v\n\x13InsertCohortMembers\x12..personhog.types.v1.InsertCohortMembersRequest\x1a/.personhog.types.v1.InsertCohortMembersResponse\x12v\n\x13ListCohortMemberIds\x12..personhog.types.v1.ListCohortMemberIdsRequest\x1a/.personhog.types.v1.ListCohortMemberIdsResponse\x12U\n\x08GetGroup\x12#.personhog.types.v1.GetGroupRequest\x1a$.personhog.types.v1.GetGroupResponse\x12U\n\tGetGroups\x12$.personhog.types.v1.GetGroupsRequest\x1a\".personhog.types.v1.GroupsResponse\x12g\n\x0eGetGroupsBatch\x12).personhog.types.v1.GetGroupsBatchRequest\x1a*.personhog.types.v1.GetGroupsBatchResponse\x12[\n\nListGroups\x12%.personhog.types.v1.ListGroupsRequest\x1a&.personhog.types.v1.ListGroupsResponse\x12\x86\x01\n\x1cGetGroupTypeMappingsByTeamId\x12\x37.personhog.types.v1.GetGroupTypeMappingsByTeamIdRequest\x1a-.personhog.types.v1.GroupTypeMappingsResponse\x12\x8d\x01\n\x1dGetGroupTypeMappingsByTeamIds\x12\x38.personhog.types.v1.GetGroupTypeMappingsByTeamIdsRequest\x1a\x32.personhog.types.v1.GroupTypeMappingsBatchResponse\x12\x8c\x01\n\x1fGetGroupTypeMappingsByProjectId\x12:.personhog.types.v1.GetGroupTypeMappingsByProjectIdRequest\x1a-.personhog.types.v1.GroupTypeMappingsResponse\x12\x93\x01\n GetGroupTypeMappingsByProjectIds\x12;.personhog.types.v1.GetGroupTypeMappingsByProjectIdsRequest\x1a\x32.personhog.types.v1.GroupTypeMappingsBatchResponse\x12\x9d\x01\n GetGroupTypeMappingByDashboardId\x12;.personhog.types.v1.GetGroupTypeMappingByDashboardIdRequest\x1a<.personhog.types.v1.GetGroupTypeMappingByDashboardIdResponse\x12\x7f\n\x16\x43ountGroupTypeMappings\x12\x31.personhog.types.v1.CountGroupTypeMappingsRequest\x1a\x32.personhog.types.v1.CountGroupTypeMappingsResponse\x12^\n\x0b\x43reateGroup\x12&.personhog.types.v1.CreateGroupRequest\x1a'.personhog.types.v1.CreateGroupResponse\x12^\n\x0bUpdateGroup\x12&.personhog.types.v1.UpdateGroupRequest\x1a'.personhog.types.v1.UpdateGroupResponse\x12\x85\x01\n\x18\x44\x65leteGroupsBatchForTeam\x12\x33.personhog.types.v1.DeleteGroupsBatchForTeamRequest\x1a\x34.personhog.types.v1.DeleteGroupsBatchForTeamResponse\x12\x7f\n\x16UpdateGroupTypeMapping\x12\x31.personhog.types.v1.UpdateGroupTypeMappingRequest\x1a\x32.personhog.types.v1.UpdateGroupTypeMappingResponse\x12\x7f\n\x16\x44\x65leteGroupTypeMapping\x12\x31.personhog.types.v1.DeleteGroupTypeMappingRequest\x1a\x32.personhog.types.v1.DeleteGroupTypeMappingResponse\x12\xa6\x01\n#DeleteGroupTypeMappingsBatchForTeam\x12>.personhog.types.v1.DeleteGroupTypeMappingsBatchForTeamRequest\x1a?.personhog.types.v1.DeleteGroupTypeMappingsBatchForTeamResponse\x12\x7f\n\x16UpdatePersonProperties\x12\x31.personhog.types.v1.UpdatePersonPropertiesRequest\x1a\x32.personhog.types.v1.UpdatePersonPropertiesResponse\x12^\n\x0b\x46\x65ncePerson\x12&.personhog.types.v1.FencePersonRequest\x1a'.personhog.types.v1.FencePersonResponse\x12\x61\n\x0c\x46\x65ncePersons\x12'.personhog.types.v1.FencePersonsRequest\x1a(.personhog.types.v1.FencePersonsResponse\x12\x61\n\x0cReleaseFence\x12'.personhog.types.v1.ReleaseFenceRequest\x1a(.personhog.types.v1.ReleaseFenceResponse\x12\x64\n\rReleaseFences\x12(.personhog.types.v1.ReleaseFencesRequest\x1a).personhog.types.v1.ReleaseFencesResponse\x12s\n\x12\x46oldPersonDocument\x12-.personhog.types.v1.FoldPersonDocumentRequest\x1a..personhog.types.v1.FoldPersonDocumentResponse\x12\x64\n\rDeletePersons\x12(.personhog.types.v1.DeletePersonsRequest\x1a).personhog.types.v1.DeletePersonsResponse\x12\x88\x01\n\x19\x44\x65letePersonsBatchForTeam\x12\x34.personhog.types.v1.DeletePersonsBatchForTeamRequest\x1a\x35.personhog.types.v1.DeletePersonsBatchForTeamResponse\x12\x82\x01\n\x17\x44\x65leteTombstonedPersons\x12\x32.personhog.types.v1.DeleteTombstonedPersonsRequest\x1a\x33.personhog.types.v1.DeleteTombstonedPersonsResponse\x12v\n\x13GetPersonTombstones\x12..personhog.types.v1.GetPersonTombstonesRequest\x1a/.personhog.types.v1.GetPersonTombstonesResponse\x12v\n\x13\x41\x63kPersonTombstones\x12..personhog.types.v1.AckPersonTombstonesRequest\x1a/.personhog.types.v1.AckPersonTombstonesResponse\x12\x85\x01\n\x18ListPersonTombstoneQueue\x12\x33.personhog.types.v1.ListPersonTombstoneQueueRequest\x1a\x34.personhog.types.v1.ListPersonTombstoneQueueResponse\x12^\n\x0bSplitPerson\x12&.personhog.types.v1.SplitPersonRequest\x1a'.personhog.types.v1.SplitPersonResponse\x12\x9a\x01\n\x1fSetPersonDistinctIdVersionFloor\x12:.personhog.types.v1.SetPersonDistinctIdVersionFloorRequest\x1a;.personhog.types.v1.SetPersonDistinctIdVersionFloorResponse\x12|\n\x15SetPersonVersionFloor\x12\x30.personhog.types.v1.SetPersonVersionFloorRequest\x1a\x31.personhog.types.v1.SetPersonVersionFloorResponseb\x06proto3"+ b"\n\"personhog/service/v1/service.proto\x12\x14personhog.service.v1\x1a\x1fpersonhog/types/v1/person.proto\x1a\x1epersonhog/types/v1/group.proto\x1a\x1fpersonhog/types/v1/cohort.proto\x1a%personhog/types/v1/feature_flag.proto2\xdf/\n\x10PersonHogService\x12X\n\tGetPerson\x12$.personhog.types.v1.GetPersonRequest\x1a%.personhog.types.v1.GetPersonResponse\x12X\n\nGetPersons\x12%.personhog.types.v1.GetPersonsRequest\x1a#.personhog.types.v1.PersonsResponse\x12\x64\n\x0fGetPersonByUuid\x12*.personhog.types.v1.GetPersonByUuidRequest\x1a%.personhog.types.v1.GetPersonResponse\x12\x66\n\x11GetPersonsByUuids\x12,.personhog.types.v1.GetPersonsByUuidsRequest\x1a#.personhog.types.v1.PersonsResponse\x12p\n\x15GetPersonByDistinctId\x12\x30.personhog.types.v1.GetPersonByDistinctIdRequest\x1a%.personhog.types.v1.GetPersonResponse\x12\x91\x01\n\x1dGetPersonsByDistinctIdsInTeam\x12\x38.personhog.types.v1.GetPersonsByDistinctIdsInTeamRequest\x1a\x36.personhog.types.v1.PersonsByDistinctIdsInTeamResponse\x12\x7f\n\x17GetPersonsByDistinctIds\x12\x32.personhog.types.v1.GetPersonsByDistinctIdsRequest\x1a\x30.personhog.types.v1.PersonsByDistinctIdsResponse\x12\x82\x01\n\x17GetDistinctIdsForPerson\x12\x32.personhog.types.v1.GetDistinctIdsForPersonRequest\x1a\x33.personhog.types.v1.GetDistinctIdsForPersonResponse\x12\x85\x01\n\x18GetDistinctIdsForPersons\x12\x33.personhog.types.v1.GetDistinctIdsForPersonsRequest\x1a\x34.personhog.types.v1.GetDistinctIdsForPersonsResponse\x12\x88\x01\n\x19GetHashKeyOverrideContext\x12\x34.personhog.types.v1.GetHashKeyOverrideContextRequest\x1a\x35.personhog.types.v1.GetHashKeyOverrideContextResponse\x12\x7f\n\x16UpsertHashKeyOverrides\x12\x31.personhog.types.v1.UpsertHashKeyOverridesRequest\x1a\x32.personhog.types.v1.UpsertHashKeyOverridesResponse\x12\x94\x01\n\x1d\x44\x65leteHashKeyOverridesByTeams\x12\x38.personhog.types.v1.DeleteHashKeyOverridesByTeamsRequest\x1a\x39.personhog.types.v1.DeleteHashKeyOverridesByTeamsResponse\x12w\n\x15\x43heckCohortMembership\x12\x30.personhog.types.v1.CheckCohortMembershipRequest\x1a,.personhog.types.v1.CohortMembershipResponse\x12s\n\x12\x43ountCohortMembers\x12-.personhog.types.v1.CountCohortMembersRequest\x1a..personhog.types.v1.CountCohortMembersResponse\x12s\n\x12\x44\x65leteCohortMember\x12-.personhog.types.v1.DeleteCohortMemberRequest\x1a..personhog.types.v1.DeleteCohortMemberResponse\x12\x82\x01\n\x17\x44\x65leteCohortMembersBulk\x12\x32.personhog.types.v1.DeleteCohortMembersBulkRequest\x1a\x33.personhog.types.v1.DeleteCohortMembersBulkResponse\x12v\n\x13InsertCohortMembers\x12..personhog.types.v1.InsertCohortMembersRequest\x1a/.personhog.types.v1.InsertCohortMembersResponse\x12v\n\x13ListCohortMemberIds\x12..personhog.types.v1.ListCohortMemberIdsRequest\x1a/.personhog.types.v1.ListCohortMemberIdsResponse\x12U\n\x08GetGroup\x12#.personhog.types.v1.GetGroupRequest\x1a$.personhog.types.v1.GetGroupResponse\x12U\n\tGetGroups\x12$.personhog.types.v1.GetGroupsRequest\x1a\".personhog.types.v1.GroupsResponse\x12g\n\x0eGetGroupsBatch\x12).personhog.types.v1.GetGroupsBatchRequest\x1a*.personhog.types.v1.GetGroupsBatchResponse\x12[\n\nListGroups\x12%.personhog.types.v1.ListGroupsRequest\x1a&.personhog.types.v1.ListGroupsResponse\x12\x86\x01\n\x1cGetGroupTypeMappingsByTeamId\x12\x37.personhog.types.v1.GetGroupTypeMappingsByTeamIdRequest\x1a-.personhog.types.v1.GroupTypeMappingsResponse\x12\x8d\x01\n\x1dGetGroupTypeMappingsByTeamIds\x12\x38.personhog.types.v1.GetGroupTypeMappingsByTeamIdsRequest\x1a\x32.personhog.types.v1.GroupTypeMappingsBatchResponse\x12\x8c\x01\n\x1fGetGroupTypeMappingsByProjectId\x12:.personhog.types.v1.GetGroupTypeMappingsByProjectIdRequest\x1a-.personhog.types.v1.GroupTypeMappingsResponse\x12\x93\x01\n GetGroupTypeMappingsByProjectIds\x12;.personhog.types.v1.GetGroupTypeMappingsByProjectIdsRequest\x1a\x32.personhog.types.v1.GroupTypeMappingsBatchResponse\x12\x9d\x01\n GetGroupTypeMappingByDashboardId\x12;.personhog.types.v1.GetGroupTypeMappingByDashboardIdRequest\x1a<.personhog.types.v1.GetGroupTypeMappingByDashboardIdResponse\x12\x7f\n\x16\x43ountGroupTypeMappings\x12\x31.personhog.types.v1.CountGroupTypeMappingsRequest\x1a\x32.personhog.types.v1.CountGroupTypeMappingsResponse\x12^\n\x0b\x43reateGroup\x12&.personhog.types.v1.CreateGroupRequest\x1a'.personhog.types.v1.CreateGroupResponse\x12^\n\x0bUpdateGroup\x12&.personhog.types.v1.UpdateGroupRequest\x1a'.personhog.types.v1.UpdateGroupResponse\x12\x85\x01\n\x18\x44\x65leteGroupsBatchForTeam\x12\x33.personhog.types.v1.DeleteGroupsBatchForTeamRequest\x1a\x34.personhog.types.v1.DeleteGroupsBatchForTeamResponse\x12\x7f\n\x16UpdateGroupTypeMapping\x12\x31.personhog.types.v1.UpdateGroupTypeMappingRequest\x1a\x32.personhog.types.v1.UpdateGroupTypeMappingResponse\x12\x7f\n\x16\x44\x65leteGroupTypeMapping\x12\x31.personhog.types.v1.DeleteGroupTypeMappingRequest\x1a\x32.personhog.types.v1.DeleteGroupTypeMappingResponse\x12\xa6\x01\n#DeleteGroupTypeMappingsBatchForTeam\x12>.personhog.types.v1.DeleteGroupTypeMappingsBatchForTeamRequest\x1a?.personhog.types.v1.DeleteGroupTypeMappingsBatchForTeamResponse\x12\x7f\n\x16UpdatePersonProperties\x12\x31.personhog.types.v1.UpdatePersonPropertiesRequest\x1a\x32.personhog.types.v1.UpdatePersonPropertiesResponse\x12^\n\x0b\x46\x65ncePerson\x12&.personhog.types.v1.FencePersonRequest\x1a'.personhog.types.v1.FencePersonResponse\x12\x61\n\x0c\x46\x65ncePersons\x12'.personhog.types.v1.FencePersonsRequest\x1a(.personhog.types.v1.FencePersonsResponse\x12\x61\n\x0cReleaseFence\x12'.personhog.types.v1.ReleaseFenceRequest\x1a(.personhog.types.v1.ReleaseFenceResponse\x12\x64\n\rReleaseFences\x12(.personhog.types.v1.ReleaseFencesRequest\x1a).personhog.types.v1.ReleaseFencesResponse\x12s\n\x12\x46oldPersonDocument\x12-.personhog.types.v1.FoldPersonDocumentRequest\x1a..personhog.types.v1.FoldPersonDocumentResponse\x12\x64\n\rDeletePersons\x12(.personhog.types.v1.DeletePersonsRequest\x1a).personhog.types.v1.DeletePersonsResponse\x12\x88\x01\n\x19\x44\x65letePersonsBatchForTeam\x12\x34.personhog.types.v1.DeletePersonsBatchForTeamRequest\x1a\x35.personhog.types.v1.DeletePersonsBatchForTeamResponse\x12\x82\x01\n\x17\x44\x65leteTombstonedPersons\x12\x32.personhog.types.v1.DeleteTombstonedPersonsRequest\x1a\x33.personhog.types.v1.DeleteTombstonedPersonsResponse\x12v\n\x13GetPersonTombstones\x12..personhog.types.v1.GetPersonTombstonesRequest\x1a/.personhog.types.v1.GetPersonTombstonesResponse\x12v\n\x13\x41\x63kPersonTombstones\x12..personhog.types.v1.AckPersonTombstonesRequest\x1a/.personhog.types.v1.AckPersonTombstonesResponse\x12\x85\x01\n\x18ListPersonTombstoneQueue\x12\x33.personhog.types.v1.ListPersonTombstoneQueueRequest\x1a\x34.personhog.types.v1.ListPersonTombstoneQueueResponse\x12^\n\x0bSplitPerson\x12&.personhog.types.v1.SplitPersonRequest\x1a'.personhog.types.v1.SplitPersonResponse\x12\x9a\x01\n\x1fSetPersonDistinctIdVersionFloor\x12:.personhog.types.v1.SetPersonDistinctIdVersionFloorRequest\x1a;.personhog.types.v1.SetPersonDistinctIdVersionFloorResponse\x12|\n\x15SetPersonVersionFloor\x12\x30.personhog.types.v1.SetPersonVersionFloorRequest\x1a\x31.personhog.types.v1.SetPersonVersionFloorResponse\x12\x88\x01\n\x19\x45nsurePersonVersionFloors\x12\x34.personhog.types.v1.EnsurePersonVersionFloorsRequest\x1a\x35.personhog.types.v1.EnsurePersonVersionFloorsResponseb\x06proto3")_globals = globals()@@ -37,5 +37,5 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "personhog.service.v1.servicif not _descriptor._USE_C_DESCRIPTORS:DESCRIPTOR._loaded_options = None_globals["_PERSONHOGSERVICE"]._serialized_start = 198- _globals["_PERSONHOGSERVICE"]._serialized_end = 6170+ _globals["_PERSONHOGSERVICE"]._serialized_end = 6309# @@protoc_insertion_point(module_scope)diff --git a/packages/personhog-proto/personhog/service/v1/service_pb2_grpc.py b/packages/personhog-proto/personhog/service/v1/service_pb2_grpc.pyindex e479a551e23e..df74fe81105a 100644--- a/packages/personhog-proto/personhog/service/v1/service_pb2_grpc.py+++ b/packages/personhog-proto/personhog/service/v1/service_pb2_grpc.py@@ -336,6 +336,12 @@ class PersonHogServiceStub:response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.SetPersonVersionFloorResponse.FromString,_registered_method=True,)+ self.EnsurePersonVersionFloors = channel.unary_unary(+ "/personhog.service.v1.PersonHogService/EnsurePersonVersionFloors",+ request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.EnsurePersonVersionFloorsRequest.SerializeToString,+ response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.EnsurePersonVersionFloorsResponse.FromString,+ _registered_method=True,+ )class PersonHogServiceServicer:@@ -654,6 +660,14 @@ class PersonHogServiceServicer:context.set_details("Method not implemented!")raise NotImplementedError("Method not implemented!")+ def EnsurePersonVersionFloors(self, request, context):+ """Version floors for the ClickHouse cleanup jobs.+ The write goes to the primary: same routing caveat as DeletePersons above.+ """+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)+ context.set_details("Method not implemented!")+ raise NotImplementedError("Method not implemented!")+def add_PersonHogServiceServicer_to_server(servicer, server):rpc_method_handlers = {@@ -902,6 +916,11 @@ def add_PersonHogServiceServicer_to_server(servicer, server):request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.SetPersonVersionFloorRequest.FromString,response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.SetPersonVersionFloorResponse.SerializeToString,),+ "EnsurePersonVersionFloors": grpc.unary_unary_rpc_method_handler(+ servicer.EnsurePersonVersionFloors,+ request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.EnsurePersonVersionFloorsRequest.FromString,+ response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.EnsurePersonVersionFloorsResponse.SerializeToString,+ ),}generic_handler = grpc.method_handlers_generic_handler("personhog.service.v1.PersonHogService", rpc_method_handlers)server.add_generic_rpc_handlers((generic_handler,))@@ -2383,3 +2402,33 @@ class PersonHogService:metadata,_registered_method=True,)++ @staticmethod+ def EnsurePersonVersionFloors(+ request,+ target,+ options=(),+ channel_credentials=None,+ call_credentials=None,+ insecure=False,+ compression=None,+ wait_for_ready=None,+ timeout=None,+ metadata=None,+ ):+ return grpc.experimental.unary_unary(+ request,+ target,+ "/personhog.service.v1.PersonHogService/EnsurePersonVersionFloors",+ personhog_dot_types_dot_v1_dot_person__pb2.EnsurePersonVersionFloorsRequest.SerializeToString,+ personhog_dot_types_dot_v1_dot_person__pb2.EnsurePersonVersionFloorsResponse.FromString,+ options,+ channel_credentials,+ insecure,+ call_credentials,+ compression,+ wait_for_ready,+ timeout,+ metadata,+ _registered_method=True,+ )diff --git a/packages/personhog-proto/personhog/types/v1/person_pb2.py b/packages/personhog-proto/personhog/types/v1/person_pb2.pyindex fbf122f535bf..707965913f7d 100644--- a/packages/personhog-proto/personhog/types/v1/person_pb2.py+++ b/packages/personhog-proto/personhog/types/v1/person_pb2.py@@ -23,7 +23,7 @@ _sym_db = _symbol_database.Default()from personhog.types.v1 import common_pb2 as personhog_dot_types_dot_v1_dot_common__pb2DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(- b'\n\x1fpersonhog/types/v1/person.proto\x12\x12personhog.types.v1\x1a\x1fpersonhog/types/v1/common.proto"\xb2\x02\n\x06Person\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x0f\n\x07team_id\x18\x03 \x01(\x03\x12\x12\n\nproperties\x18\x04 \x01(\x0c\x12"\n\x1aproperties_last_updated_at\x18\x05 \x01(\x0c\x12!\n\x19properties_last_operation\x18\x06 \x01(\x0c\x12\x12\n\ncreated_at\x18\x07 \x01(\x03\x12\x0f\n\x07version\x18\x08 \x01(\x03\x12\x15\n\ris_identified\x18\t \x01(\x08\x12\x17\n\nis_user_id\x18\n \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x0clast_seen_at\x18\x0b \x01(\x03H\x01\x88\x01\x01\x12\x12\n\nis_deleted\x18\x0c \x01(\x08\x42\r\n\x0b_is_user_idB\x0f\n\r_last_seen_at"f\n\x15\x44istinctIdWithVersion\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x14\n\x07version\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x0f\n\x02id\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\n\n\x08_versionB\x05\n\x03_id"h\n\x15PersonWithDistinctIds\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12/\n\x06person\x18\x02 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"g\n\x11PersonDistinctIds\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12?\n\x0c\x64istinct_ids\x18\x02 \x03(\x0b\x32).personhog.types.v1.DistinctIdWithVersion"\x87\x01\n\x18PersonWithTeamDistinctId\x12/\n\x03key\x18\x01 \x01(\x0b\x32".personhog.types.v1.TeamDistinctId\x12/\n\x06person\x18\x02 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"m\n\x10GetPersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"O\n\x11GetPersonResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"o\n\x11GetPersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x12\n\nperson_ids\x18\x02 \x03(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"S\n\x0fPersonsResponse\x12+\n\x07persons\x18\x01 \x03(\x0b\x32\x1a.personhog.types.v1.Person\x12\x13\n\x0bmissing_ids\x18\x02 \x03(\x03"n\n\x16GetPersonByUuidRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"q\n\x18GetPersonsByUuidsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\r\n\x05uuids\x18\x02 \x03(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"{\n\x1cGetPersonByDistinctIdRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x13\n\x0b\x64istinct_id\x18\x02 \x01(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"\x84\x01\n$GetPersonsByDistinctIdsInTeamRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x64istinct_ids\x18\x02 \x03(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"`\n"PersonsByDistinctIdsInTeamResponse\x12:\n\x07results\x18\x01 \x03(\x0b\x32).personhog.types.v1.PersonWithDistinctIds"\x96\x01\n\x1eGetPersonsByDistinctIdsRequest\x12=\n\x11team_distinct_ids\x18\x01 \x03(\x0b\x32".personhog.types.v1.TeamDistinctId\x12\x35\n\x0cread_options\x18\x02 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"]\n\x1cPersonsByDistinctIdsResponse\x12=\n\x07results\x18\x01 \x03(\x0b\x32,.personhog.types.v1.PersonWithTeamDistinctId"\xbf\x01\n\x1eGetDistinctIdsForPersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions\x12\x12\n\x05limit\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12\x16\n\tcursor_id\x18\x05 \x01(\x03H\x01\x88\x01\x01\x42\x08\n\x06_limitB\x0c\n\n_cursor_id"\x92\x01\n\x1fGetDistinctIdsForPersonResponse\x12?\n\x0c\x64istinct_ids\x18\x01 \x03(\x0b\x32).personhog.types.v1.DistinctIdWithVersion\x12\x1b\n\x0enext_cursor_id\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x11\n\x0f_next_cursor_id"\xb1\x01\n\x1fGetDistinctIdsForPersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x12\n\nperson_ids\x18\x02 \x03(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions\x12\x1d\n\x10limit_per_person\x18\x04 \x01(\x03H\x00\x88\x01\x01\x42\x13\n\x11_limit_per_person"f\n GetDistinctIdsForPersonsResponse\x12\x42\n\x13person_distinct_ids\x18\x01 \x03(\x0b\x32%.personhog.types.v1.PersonDistinctIds"\x96\x02\n\x1dUpdatePersonPropertiesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x12\n\nevent_name\x18\x03 \x01(\t\x12\x16\n\x0eset_properties\x18\x04 \x01(\x0c\x12\x1b\n\x13set_once_properties\x18\x05 \x01(\x0c\x12\x18\n\x10unset_properties\x18\x06 \x03(\t\x12\x1a\n\ris_identified\x18\x07 \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x0clast_seen_at\x18\x08 \x01(\x03H\x01\x88\x01\x01\x12\x14\n\x0c\x66orce_update\x18\t \x01(\x08\x42\x10\n\x0e_is_identifiedB\x0f\n\r_last_seen_at"m\n\x1eUpdatePersonPropertiesResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x12\x0f\n\x07updated\x18\x02 \x01(\x08\x42\t\n\x07_person"r\n\x14\x44\x65letePersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0cperson_uuids\x18\x02 \x03(\t\x12\x33\n\x04mode\x18\x03 \x01(\x0e\x32%.personhog.types.v1.DeletePersonsMode"<\n\x14TombstonedDistinctId\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"x\n\x10TombstonedPerson\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12>\n\x0c\x64istinct_ids\x18\x03 \x03(\x0b\x32(.personhog.types.v1.TombstonedDistinctId"|\n\x15\x44\x65letePersonsResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x03\x12\x12\n\ntombstoned\x18\x02 \x01(\x08\x12\x38\n\ntombstones\x18\x03 \x03(\x0b\x32$.personhog.types.v1.TombstonedPerson"C\n\x1aGetPersonTombstonesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0cperson_uuids\x18\x02 \x03(\t"W\n\x1bGetPersonTombstonesResponse\x12\x38\n\ntombstones\x18\x01 \x03(\x0b\x32$.personhog.types.v1.TombstonedPerson"<\n\x14\x41\x63kedPersonTombstone\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"k\n\x1a\x41\x63kPersonTombstonesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12<\n\ntombstones\x18\x02 \x03(\x0b\x32(.personhog.types.v1.AckedPersonTombstone"4\n\x1b\x41\x63kPersonTombstonesResponse\x12\x15\n\rcleared_count\x18\x01 \x01(\x03"\x84\x01\n\x1fListPersonTombstoneQueueRequest\x12\x15\n\rafter_team_id\x18\x01 \x01(\x03\x12\x19\n\x11\x61\x66ter_person_uuid\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x03\x12\x14\n\x07team_id\x18\x04 \x01(\x03H\x00\x88\x01\x01\x42\n\n\x08_team_id"p\n\x19PersonTombstoneQueueEntry\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x13\n\x0bperson_uuid\x18\x02 \x01(\t\x12\x16\n\x0eperson_version\x18\x03 \x01(\x03\x12\x15\n\rtombstoned_at\x18\x04 \x01(\x03"b\n ListPersonTombstoneQueueResponse\x12>\n\x07\x65ntries\x18\x01 \x03(\x0b\x32-.personhog.types.v1.PersonTombstoneQueueEntry"G\n DeletePersonsBatchForTeamRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x12\n\nbatch_size\x18\x02 \x01(\x03":\n!DeletePersonsBatchForTeamResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x03"Y\n\x1e\x44\x65leteTombstonedPersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0cperson_uuids\x18\x02 \x03(\t\x12\x10\n\x08max_rows\x18\x03 \x01(\x03"\xa6\x01\n\x1f\x44\x65leteTombstonedPersonsResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x03\x12\x1a\n\x12skipped_live_count\x18\x02 \x01(\x03\x12\x1c\n\x14\x62locked_person_uuids\x18\x03 \x03(\t\x12\x1c\n\x14pending_person_uuids\x18\x04 \x03(\t\x12\x14\n\x0crows_deleted\x18\x05 \x01(\x03"W\n\x12SplitPersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x1d\n\x15\x64istinct_ids_to_split\x18\x03 \x03(\t"\x8e\x01\n\x0bSplitResult\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x17\n\x0fnew_person_uuid\x18\x02 \x01(\t\x12\x1a\n\x12new_person_version\x18\x03 \x01(\x03\x12\x13\n\x0bpdi_version\x18\x04 \x01(\x03\x12 \n\x18new_person_created_at_ms\x18\x05 \x01(\x03"F\n\x13SplitPersonResponse\x12/\n\x06splits\x18\x01 \x03(\x0b\x32\x1f.personhog.types.v1.SplitResult"c\n&SetPersonDistinctIdVersionFloorRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x13\n\x0b\x64istinct_id\x18\x02 \x01(\t\x12\x13\n\x0bmin_version\x18\x03 \x01(\x03"e\n\'SetPersonDistinctIdVersionFloorResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"W\n\x1cSetPersonVersionFloorRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x13\n\x0bmin_version\x18\x03 \x01(\x03"0\n\x1dSetPersonVersionFloorResponse\x12\x0f\n\x07updated\x18\x01 \x01(\x08"}\n\x12\x46\x65ncePersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\r\n\x05op_id\x18\x03 \x01(\t\x12\x34\n\x07op_type\x18\x04 \x01(\x0e\x32#.personhog.types.v1.LifecycleOpType"A\n\x13\x46\x65ncePersonResponse\x12*\n\x06sealed\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.Person"\x7f\n\x13\x46\x65ncePersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\r\n\x05op_id\x18\x02 \x01(\t\x12\x34\n\x07op_type\x18\x03 \x01(\x0e\x32#.personhog.types.v1.LifecycleOpType\x12\x12\n\nperson_ids\x18\x04 \x03(\x03"_\n\x14\x46\x65ncePersonsResponse\x12\x34\n\x06sealed\x18\x01 \x03(\x0b\x32$.personhog.types.v1.FencedPersonSeal\x12\x11\n\tnot_found\x18\x02 \x03(\x03"J\n\x10\x46\x65ncedPersonSeal\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\x12\n\ncreated_at\x18\x03 \x01(\x03"\xd6\x01\n\x13ReleaseFenceRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x13\n\x0bperson_uuid\x18\x03 \x01(\t\x12\r\n\x05op_id\x18\x04 \x01(\t\x12\x33\n\x07outcome\x18\x05 \x01(\x0e\x32".personhog.types.v1.ReleaseOutcome\x12\x1b\n\x0esealed_version\x18\x06 \x01(\x03H\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x03\x42\x11\n\x0f_sealed_version"\x16\n\x14ReleaseFenceResponse"\xa2\x01\n\x14ReleaseFencesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\r\n\x05op_id\x18\x02 \x01(\t\x12\x33\n\x07outcome\x18\x03 \x01(\x0e\x32".personhog.types.v1.ReleaseOutcome\x12\x35\n\x07persons\x18\x04 \x03(\x0b\x32$.personhog.types.v1.ReleaseFenceItem"~\n\x10ReleaseFenceItem\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12\x13\n\x0bperson_uuid\x18\x02 \x01(\t\x12\x1b\n\x0esealed_version\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x04 \x01(\x03\x42\x11\n\x0f_sealed_version"\x17\n\x15ReleaseFencesResponse"S\n\x14SealedSourceSnapshot\x12*\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.Person\x12\x0f\n\x07ordinal\x18\x02 \x01(\x05"\xbd\x01\n\x19\x46oldPersonDocumentRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x42\n\x10sealed_snapshots\x18\x03 \x03(\x0b\x32(.personhog.types.v1.SealedSourceSnapshot\x12\x11\n\tevent_set\x18\x04 \x01(\x0c\x12\x16\n\x0e\x65vent_set_once\x18\x05 \x01(\x0c\x12\r\n\x05op_id\x18\x06 \x01(\t"H\n\x1a\x46oldPersonDocumentResponse\x12*\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.Person*y\n\x11\x44\x65letePersonsMode\x12#\n\x1f\x44\x45LETE_PERSONS_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x44\x45LETE_PERSONS_MODE_HARD\x10\x01\x12!\n\x1d\x44\x45LETE_PERSONS_MODE_TOMBSTONE\x10\x02*o\n\x0fLifecycleOpType\x12!\n\x1dLIFECYCLE_OP_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18LIFECYCLE_OP_TYPE_DELETE\x10\x01\x12\x1b\n\x17LIFECYCLE_OP_TYPE_MERGE\x10\x02*m\n\x0eReleaseOutcome\x12\x1f\n\x1bRELEASE_OUTCOME_UNSPECIFIED\x10\x00\x12\x1d\n\x19RELEASE_OUTCOME_COMMITTED\x10\x01\x12\x1b\n\x17RELEASE_OUTCOME_ABORTED\x10\x02\x62\x06proto3'+ b'\n\x1fpersonhog/types/v1/person.proto\x12\x12personhog.types.v1\x1a\x1fpersonhog/types/v1/common.proto"\xb2\x02\n\x06Person\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x0f\n\x07team_id\x18\x03 \x01(\x03\x12\x12\n\nproperties\x18\x04 \x01(\x0c\x12"\n\x1aproperties_last_updated_at\x18\x05 \x01(\x0c\x12!\n\x19properties_last_operation\x18\x06 \x01(\x0c\x12\x12\n\ncreated_at\x18\x07 \x01(\x03\x12\x0f\n\x07version\x18\x08 \x01(\x03\x12\x15\n\ris_identified\x18\t \x01(\x08\x12\x17\n\nis_user_id\x18\n \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x0clast_seen_at\x18\x0b \x01(\x03H\x01\x88\x01\x01\x12\x12\n\nis_deleted\x18\x0c \x01(\x08\x42\r\n\x0b_is_user_idB\x0f\n\r_last_seen_at"f\n\x15\x44istinctIdWithVersion\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x14\n\x07version\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x0f\n\x02id\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\n\n\x08_versionB\x05\n\x03_id"h\n\x15PersonWithDistinctIds\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12/\n\x06person\x18\x02 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"g\n\x11PersonDistinctIds\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12?\n\x0c\x64istinct_ids\x18\x02 \x03(\x0b\x32).personhog.types.v1.DistinctIdWithVersion"\x87\x01\n\x18PersonWithTeamDistinctId\x12/\n\x03key\x18\x01 \x01(\x0b\x32".personhog.types.v1.TeamDistinctId\x12/\n\x06person\x18\x02 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"m\n\x10GetPersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"O\n\x11GetPersonResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"o\n\x11GetPersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x12\n\nperson_ids\x18\x02 \x03(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"S\n\x0fPersonsResponse\x12+\n\x07persons\x18\x01 \x03(\x0b\x32\x1a.personhog.types.v1.Person\x12\x13\n\x0bmissing_ids\x18\x02 \x03(\x03"n\n\x16GetPersonByUuidRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"q\n\x18GetPersonsByUuidsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\r\n\x05uuids\x18\x02 \x03(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"{\n\x1cGetPersonByDistinctIdRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x13\n\x0b\x64istinct_id\x18\x02 \x01(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"\x84\x01\n$GetPersonsByDistinctIdsInTeamRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0c\x64istinct_ids\x18\x02 \x03(\t\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"`\n"PersonsByDistinctIdsInTeamResponse\x12:\n\x07results\x18\x01 \x03(\x0b\x32).personhog.types.v1.PersonWithDistinctIds"\x96\x01\n\x1eGetPersonsByDistinctIdsRequest\x12=\n\x11team_distinct_ids\x18\x01 \x03(\x0b\x32".personhog.types.v1.TeamDistinctId\x12\x35\n\x0cread_options\x18\x02 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions"]\n\x1cPersonsByDistinctIdsResponse\x12=\n\x07results\x18\x01 \x03(\x0b\x32,.personhog.types.v1.PersonWithTeamDistinctId"\xbf\x01\n\x1eGetDistinctIdsForPersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions\x12\x12\n\x05limit\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12\x16\n\tcursor_id\x18\x05 \x01(\x03H\x01\x88\x01\x01\x42\x08\n\x06_limitB\x0c\n\n_cursor_id"\x92\x01\n\x1fGetDistinctIdsForPersonResponse\x12?\n\x0c\x64istinct_ids\x18\x01 \x03(\x0b\x32).personhog.types.v1.DistinctIdWithVersion\x12\x1b\n\x0enext_cursor_id\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x11\n\x0f_next_cursor_id"\xb1\x01\n\x1fGetDistinctIdsForPersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x12\n\nperson_ids\x18\x02 \x03(\x03\x12\x35\n\x0cread_options\x18\x03 \x01(\x0b\x32\x1f.personhog.types.v1.ReadOptions\x12\x1d\n\x10limit_per_person\x18\x04 \x01(\x03H\x00\x88\x01\x01\x42\x13\n\x11_limit_per_person"f\n GetDistinctIdsForPersonsResponse\x12\x42\n\x13person_distinct_ids\x18\x01 \x03(\x0b\x32%.personhog.types.v1.PersonDistinctIds"\x96\x02\n\x1dUpdatePersonPropertiesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x12\n\nevent_name\x18\x03 \x01(\t\x12\x16\n\x0eset_properties\x18\x04 \x01(\x0c\x12\x1b\n\x13set_once_properties\x18\x05 \x01(\x0c\x12\x18\n\x10unset_properties\x18\x06 \x03(\t\x12\x1a\n\ris_identified\x18\x07 \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x0clast_seen_at\x18\x08 \x01(\x03H\x01\x88\x01\x01\x12\x14\n\x0c\x66orce_update\x18\t \x01(\x08\x42\x10\n\x0e_is_identifiedB\x0f\n\r_last_seen_at"m\n\x1eUpdatePersonPropertiesResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x12\x0f\n\x07updated\x18\x02 \x01(\x08\x42\t\n\x07_person"r\n\x14\x44\x65letePersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0cperson_uuids\x18\x02 \x03(\t\x12\x33\n\x04mode\x18\x03 \x01(\x0e\x32%.personhog.types.v1.DeletePersonsMode"<\n\x14TombstonedDistinctId\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"x\n\x10TombstonedPerson\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12>\n\x0c\x64istinct_ids\x18\x03 \x03(\x0b\x32(.personhog.types.v1.TombstonedDistinctId"|\n\x15\x44\x65letePersonsResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x03\x12\x12\n\ntombstoned\x18\x02 \x01(\x08\x12\x38\n\ntombstones\x18\x03 \x03(\x0b\x32$.personhog.types.v1.TombstonedPerson"C\n\x1aGetPersonTombstonesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0cperson_uuids\x18\x02 \x03(\t"W\n\x1bGetPersonTombstonesResponse\x12\x38\n\ntombstones\x18\x01 \x03(\x0b\x32$.personhog.types.v1.TombstonedPerson"<\n\x14\x41\x63kedPersonTombstone\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03"k\n\x1a\x41\x63kPersonTombstonesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12<\n\ntombstones\x18\x02 \x03(\x0b\x32(.personhog.types.v1.AckedPersonTombstone"4\n\x1b\x41\x63kPersonTombstonesResponse\x12\x15\n\rcleared_count\x18\x01 \x01(\x03"\x84\x01\n\x1fListPersonTombstoneQueueRequest\x12\x15\n\rafter_team_id\x18\x01 \x01(\x03\x12\x19\n\x11\x61\x66ter_person_uuid\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x03\x12\x14\n\x07team_id\x18\x04 \x01(\x03H\x00\x88\x01\x01\x42\n\n\x08_team_id"p\n\x19PersonTombstoneQueueEntry\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x13\n\x0bperson_uuid\x18\x02 \x01(\t\x12\x16\n\x0eperson_version\x18\x03 \x01(\x03\x12\x15\n\rtombstoned_at\x18\x04 \x01(\x03"b\n ListPersonTombstoneQueueResponse\x12>\n\x07\x65ntries\x18\x01 \x03(\x0b\x32-.personhog.types.v1.PersonTombstoneQueueEntry"G\n DeletePersonsBatchForTeamRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x12\n\nbatch_size\x18\x02 \x01(\x03":\n!DeletePersonsBatchForTeamResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x03"Y\n\x1e\x44\x65leteTombstonedPersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x14\n\x0cperson_uuids\x18\x02 \x03(\t\x12\x10\n\x08max_rows\x18\x03 \x01(\x03"\xa6\x01\n\x1f\x44\x65leteTombstonedPersonsResponse\x12\x15\n\rdeleted_count\x18\x01 \x01(\x03\x12\x1a\n\x12skipped_live_count\x18\x02 \x01(\x03\x12\x1c\n\x14\x62locked_person_uuids\x18\x03 \x03(\t\x12\x1c\n\x14pending_person_uuids\x18\x04 \x03(\t\x12\x14\n\x0crows_deleted\x18\x05 \x01(\x03"W\n\x12SplitPersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x1d\n\x15\x64istinct_ids_to_split\x18\x03 \x03(\t"\x8e\x01\n\x0bSplitResult\x12\x13\n\x0b\x64istinct_id\x18\x01 \x01(\t\x12\x17\n\x0fnew_person_uuid\x18\x02 \x01(\t\x12\x1a\n\x12new_person_version\x18\x03 \x01(\x03\x12\x13\n\x0bpdi_version\x18\x04 \x01(\x03\x12 \n\x18new_person_created_at_ms\x18\x05 \x01(\x03"F\n\x13SplitPersonResponse\x12/\n\x06splits\x18\x01 \x03(\x0b\x32\x1f.personhog.types.v1.SplitResult"c\n&SetPersonDistinctIdVersionFloorRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x13\n\x0b\x64istinct_id\x18\x02 \x01(\t\x12\x13\n\x0bmin_version\x18\x03 \x01(\x03"e\n\'SetPersonDistinctIdVersionFloorResponse\x12/\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.PersonH\x00\x88\x01\x01\x42\t\n\x07_person"W\n\x1cSetPersonVersionFloorRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x13\n\x0bmin_version\x18\x03 \x01(\x03"0\n\x1dSetPersonVersionFloorResponse\x12\x0f\n\x07updated\x18\x01 \x01(\x08">\n\x12PersonVersionFloor\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x13\n\x0bmin_version\x18\x02 \x01(\x03"k\n EnsurePersonVersionFloorsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x36\n\x06\x66loors\x18\x02 \x03(\x0b\x32&.personhog.types.v1.PersonVersionFloor"z\n\x18PersonVersionFloorResult\x12\x13\n\x0bperson_uuid\x18\x01 \x01(\t\x12\x38\n\x07outcome\x18\x02 \x01(\x0e\x32\'.personhog.types.v1.VersionFloorOutcome\x12\x0f\n\x07version\x18\x03 \x01(\x03"b\n!EnsurePersonVersionFloorsResponse\x12=\n\x07results\x18\x01 \x03(\x0b\x32,.personhog.types.v1.PersonVersionFloorResult"}\n\x12\x46\x65ncePersonRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\r\n\x05op_id\x18\x03 \x01(\t\x12\x34\n\x07op_type\x18\x04 \x01(\x0e\x32#.personhog.types.v1.LifecycleOpType"A\n\x13\x46\x65ncePersonResponse\x12*\n\x06sealed\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.Person"\x7f\n\x13\x46\x65ncePersonsRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\r\n\x05op_id\x18\x02 \x01(\t\x12\x34\n\x07op_type\x18\x03 \x01(\x0e\x32#.personhog.types.v1.LifecycleOpType\x12\x12\n\nperson_ids\x18\x04 \x03(\x03"_\n\x14\x46\x65ncePersonsResponse\x12\x34\n\x06sealed\x18\x01 \x03(\x0b\x32$.personhog.types.v1.FencedPersonSeal\x12\x11\n\tnot_found\x18\x02 \x03(\x03"J\n\x10\x46\x65ncedPersonSeal\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\x12\n\ncreated_at\x18\x03 \x01(\x03"\xd6\x01\n\x13ReleaseFenceRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x13\n\x0bperson_uuid\x18\x03 \x01(\t\x12\r\n\x05op_id\x18\x04 \x01(\t\x12\x33\n\x07outcome\x18\x05 \x01(\x0e\x32".personhog.types.v1.ReleaseOutcome\x12\x1b\n\x0esealed_version\x18\x06 \x01(\x03H\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x03\x42\x11\n\x0f_sealed_version"\x16\n\x14ReleaseFenceResponse"\xa2\x01\n\x14ReleaseFencesRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\r\n\x05op_id\x18\x02 \x01(\t\x12\x33\n\x07outcome\x18\x03 \x01(\x0e\x32".personhog.types.v1.ReleaseOutcome\x12\x35\n\x07persons\x18\x04 \x03(\x0b\x32$.personhog.types.v1.ReleaseFenceItem"~\n\x10ReleaseFenceItem\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12\x13\n\x0bperson_uuid\x18\x02 \x01(\t\x12\x1b\n\x0esealed_version\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x04 \x01(\x03\x42\x11\n\x0f_sealed_version"\x17\n\x15ReleaseFencesResponse"S\n\x14SealedSourceSnapshot\x12*\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.Person\x12\x0f\n\x07ordinal\x18\x02 \x01(\x05"\xbd\x01\n\x19\x46oldPersonDocumentRequest\x12\x0f\n\x07team_id\x18\x01 \x01(\x03\x12\x11\n\tperson_id\x18\x02 \x01(\x03\x12\x42\n\x10sealed_snapshots\x18\x03 \x03(\x0b\x32(.personhog.types.v1.SealedSourceSnapshot\x12\x11\n\tevent_set\x18\x04 \x01(\x0c\x12\x16\n\x0e\x65vent_set_once\x18\x05 \x01(\x0c\x12\r\n\x05op_id\x18\x06 \x01(\t"H\n\x1a\x46oldPersonDocumentResponse\x12*\n\x06person\x18\x01 \x01(\x0b\x32\x1a.personhog.types.v1.Person*y\n\x11\x44\x65letePersonsMode\x12#\n\x1f\x44\x45LETE_PERSONS_MODE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x44\x45LETE_PERSONS_MODE_HARD\x10\x01\x12!\n\x1d\x44\x45LETE_PERSONS_MODE_TOMBSTONE\x10\x02*\xe4\x01\n\x13VersionFloorOutcome\x12%\n!VERSION_FLOOR_OUTCOME_UNSPECIFIED\x10\x00\x12,\n(VERSION_FLOOR_OUTCOME_TOMBSTONE_INSERTED\x10\x01\x12*\n&VERSION_FLOOR_OUTCOME_TOMBSTONE_RAISED\x10\x02\x12,\n(VERSION_FLOOR_OUTCOME_TOMBSTONE_AT_FLOOR\x10\x03\x12\x1e\n\x1aVERSION_FLOOR_OUTCOME_LIVE\x10\x04*o\n\x0fLifecycleOpType\x12!\n\x1dLIFECYCLE_OP_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18LIFECYCLE_OP_TYPE_DELETE\x10\x01\x12\x1b\n\x17LIFECYCLE_OP_TYPE_MERGE\x10\x02*m\n\x0eReleaseOutcome\x12\x1f\n\x1bRELEASE_OUTCOME_UNSPECIFIED\x10\x00\x12\x1d\n\x19RELEASE_OUTCOME_COMMITTED\x10\x01\x12\x1b\n\x17RELEASE_OUTCOME_ABORTED\x10\x02\x62\x06proto3')_globals = globals()@@ -31,12 +31,14 @@ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "personhog.types.v1.person_pb2", _globals)if not _descriptor._USE_C_DESCRIPTORS:DESCRIPTOR._loaded_options = None- _globals["_DELETEPERSONSMODE"]._serialized_start = 6698- _globals["_DELETEPERSONSMODE"]._serialized_end = 6819- _globals["_LIFECYCLEOPTYPE"]._serialized_start = 6821- _globals["_LIFECYCLEOPTYPE"]._serialized_end = 6932- _globals["_RELEASEOUTCOME"]._serialized_start = 6934- _globals["_RELEASEOUTCOME"]._serialized_end = 7043+ _globals["_DELETEPERSONSMODE"]._serialized_start = 7095+ _globals["_DELETEPERSONSMODE"]._serialized_end = 7216+ _globals["_VERSIONFLOOROUTCOME"]._serialized_start = 7219+ _globals["_VERSIONFLOOROUTCOME"]._serialized_end = 7447+ _globals["_LIFECYCLEOPTYPE"]._serialized_start = 7449+ _globals["_LIFECYCLEOPTYPE"]._serialized_end = 7560+ _globals["_RELEASEOUTCOME"]._serialized_start = 7562+ _globals["_RELEASEOUTCOME"]._serialized_end = 7671_globals["_PERSON"]._serialized_start = 89_globals["_PERSON"]._serialized_end = 395_globals["_DISTINCTIDWITHVERSION"]._serialized_start = 397@@ -127,30 +129,38 @@ if not _descriptor._USE_C_DESCRIPTORS:_globals["_SETPERSONVERSIONFLOORREQUEST"]._serialized_end = 5240_globals["_SETPERSONVERSIONFLOORRESPONSE"]._serialized_start = 5242_globals["_SETPERSONVERSIONFLOORRESPONSE"]._serialized_end = 5290- _globals["_FENCEPERSONREQUEST"]._serialized_start = 5292- _globals["_FENCEPERSONREQUEST"]._serialized_end = 5417- _globals["_FENCEPERSONRESPONSE"]._serialized_start = 5419- _globals["_FENCEPERSONRESPONSE"]._serialized_end = 5484- _globals["_FENCEPERSONSREQUEST"]._serialized_start = 5486- _globals["_FENCEPERSONSREQUEST"]._serialized_end = 5613- _globals["_FENCEPERSONSRESPONSE"]._serialized_start = 5615- _globals["_FENCEPERSONSRESPONSE"]._serialized_end = 5710- _globals["_FENCEDPERSONSEAL"]._serialized_start = 5712- _globals["_FENCEDPERSONSEAL"]._serialized_end = 5786- _globals["_RELEASEFENCEREQUEST"]._serialized_start = 5789- _globals["_RELEASEFENCEREQUEST"]._serialized_end = 6003- _globals["_RELEASEFENCERESPONSE"]._serialized_start = 6005- _globals["_RELEASEFENCERESPONSE"]._serialized_end = 6027- _globals["_RELEASEFENCESREQUEST"]._serialized_start = 6030- _globals["_RELEASEFENCESREQUEST"]._serialized_end = 6192- _globals["_RELEASEFENCEITEM"]._serialized_start = 6194- _globals["_RELEASEFENCEITEM"]._serialized_end = 6320- _globals["_RELEASEFENCESRESPONSE"]._serialized_start = 6322- _globals["_RELEASEFENCESRESPONSE"]._serialized_end = 6345- _globals["_SEALEDSOURCESNAPSHOT"]._serialized_start = 6347- _globals["_SEALEDSOURCESNAPSHOT"]._serialized_end = 6430- _globals["_FOLDPERSONDOCUMENTREQUEST"]._serialized_start = 6433- _globals["_FOLDPERSONDOCUMENTREQUEST"]._serialized_end = 6622- _globals["_FOLDPERSONDOCUMENTRESPONSE"]._serialized_start = 6624- _globals["_FOLDPERSONDOCUMENTRESPONSE"]._serialized_end = 6696+ _globals["_PERSONVERSIONFLOOR"]._serialized_start = 5292+ _globals["_PERSONVERSIONFLOOR"]._serialized_end = 5354+ _globals["_ENSUREPERSONVERSIONFLOORSREQUEST"]._serialized_start = 5356+ _globals["_ENSUREPERSONVERSIONFLOORSREQUEST"]._serialized_end = 5463+ _globals["_PERSONVERSIONFLOORRESULT"]._serialized_start = 5465+ _globals["_PERSONVERSIONFLOORRESULT"]._serialized_end = 5587+ _globals["_ENSUREPERSONVERSIONFLOORSRESPONSE"]._serialized_start = 5589+ _globals["_ENSUREPERSONVERSIONFLOORSRESPONSE"]._serialized_end = 5687+ _globals["_FENCEPERSONREQUEST"]._serialized_start = 5689+ _globals["_FENCEPERSONREQUEST"]._serialized_end = 5814+ _globals["_FENCEPERSONRESPONSE"]._serialized_start = 5816+ _globals["_FENCEPERSONRESPONSE"]._serialized_end = 5881+ _globals["_FENCEPERSONSREQUEST"]._serialized_start = 5883+ _globals["_FENCEPERSONSREQUEST"]._serialized_end = 6010+ _globals["_FENCEPERSONSRESPONSE"]._serialized_start = 6012+ _globals["_FENCEPERSONSRESPONSE"]._serialized_end = 6107+ _globals["_FENCEDPERSONSEAL"]._serialized_start = 6109+ _globals["_FENCEDPERSONSEAL"]._serialized_end = 6183+ _globals["_RELEASEFENCEREQUEST"]._serialized_start = 6186+ _globals["_RELEASEFENCEREQUEST"]._serialized_end = 6400+ _globals["_RELEASEFENCERESPONSE"]._serialized_start = 6402+ _globals["_RELEASEFENCERESPONSE"]._serialized_end = 6424+ _globals["_RELEASEFENCESREQUEST"]._serialized_start = 6427+ _globals["_RELEASEFENCESREQUEST"]._serialized_end = 6589+ _globals["_RELEASEFENCEITEM"]._serialized_start = 6591+ _globals["_RELEASEFENCEITEM"]._serialized_end = 6717+ _globals["_RELEASEFENCESRESPONSE"]._serialized_start = 6719+ _globals["_RELEASEFENCESRESPONSE"]._serialized_end = 6742+ _globals["_SEALEDSOURCESNAPSHOT"]._serialized_start = 6744+ _globals["_SEALEDSOURCESNAPSHOT"]._serialized_end = 6827+ _globals["_FOLDPERSONDOCUMENTREQUEST"]._serialized_start = 6830+ _globals["_FOLDPERSONDOCUMENTREQUEST"]._serialized_end = 7019+ _globals["_FOLDPERSONDOCUMENTRESPONSE"]._serialized_start = 7021+ _globals["_FOLDPERSONDOCUMENTRESPONSE"]._serialized_end = 7093# @@protoc_insertion_point(module_scope)diff --git a/packages/personhog-proto/personhog/types/v1/person_pb2.pyi b/packages/personhog-proto/personhog/types/v1/person_pb2.pyiindex 18635d5e6ffe..79eeb0a69517 100644--- a/packages/personhog-proto/personhog/types/v1/person_pb2.pyi+++ b/packages/personhog-proto/personhog/types/v1/person_pb2.pyi@@ -27,6 +27,14 @@ class DeletePersonsMode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):DELETE_PERSONS_MODE_HARD: _ClassVar[DeletePersonsMode]DELETE_PERSONS_MODE_TOMBSTONE: _ClassVar[DeletePersonsMode]+class VersionFloorOutcome(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):+ __slots__ = ()+ VERSION_FLOOR_OUTCOME_UNSPECIFIED: _ClassVar[VersionFloorOutcome]+ VERSION_FLOOR_OUTCOME_TOMBSTONE_INSERTED: _ClassVar[VersionFloorOutcome]+ VERSION_FLOOR_OUTCOME_TOMBSTONE_RAISED: _ClassVar[VersionFloorOutcome]+ VERSION_FLOOR_OUTCOME_TOMBSTONE_AT_FLOOR: _ClassVar[VersionFloorOutcome]+ VERSION_FLOOR_OUTCOME_LIVE: _ClassVar[VersionFloorOutcome]+class LifecycleOpType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):__slots__ = ()LIFECYCLE_OP_TYPE_UNSPECIFIED: _ClassVar[LifecycleOpType]@@ -42,6 +50,11 @@ class ReleaseOutcome(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):DELETE_PERSONS_MODE_UNSPECIFIED: DeletePersonsModeDELETE_PERSONS_MODE_HARD: DeletePersonsModeDELETE_PERSONS_MODE_TOMBSTONE: DeletePersonsMode+VERSION_FLOOR_OUTCOME_UNSPECIFIED: VersionFloorOutcome+VERSION_FLOOR_OUTCOME_TOMBSTONE_INSERTED: VersionFloorOutcome+VERSION_FLOOR_OUTCOME_TOMBSTONE_RAISED: VersionFloorOutcome+VERSION_FLOOR_OUTCOME_TOMBSTONE_AT_FLOOR: VersionFloorOutcome+VERSION_FLOOR_OUTCOME_LIVE: VersionFloorOutcomeLIFECYCLE_OP_TYPE_UNSPECIFIED: LifecycleOpTypeLIFECYCLE_OP_TYPE_DELETE: LifecycleOpTypeLIFECYCLE_OP_TYPE_MERGE: LifecycleOpType@@ -655,6 +668,45 @@ class SetPersonVersionFloorResponse(_message.Message):updated: booldef __init__(self, updated: bool = ...) -> None: ...+class PersonVersionFloor(_message.Message):+ __slots__ = ("person_uuid", "min_version")+ PERSON_UUID_FIELD_NUMBER: _ClassVar[int]+ MIN_VERSION_FIELD_NUMBER: _ClassVar[int]+ person_uuid: str+ min_version: int+ def __init__(self, person_uuid: _Optional[str] = ..., min_version: _Optional[int] = ...) -> None: ...++class EnsurePersonVersionFloorsRequest(_message.Message):+ __slots__ = ("team_id", "floors")+ TEAM_ID_FIELD_NUMBER: _ClassVar[int]+ FLOORS_FIELD_NUMBER: _ClassVar[int]+ team_id: int+ floors: _containers.RepeatedCompositeFieldContainer[PersonVersionFloor]+ def __init__(+ self, team_id: _Optional[int] = ..., floors: _Optional[_Iterable[_Union[PersonVersionFloor, _Mapping]]] = ...+ ) -> None: ...++class PersonVersionFloorResult(_message.Message):+ __slots__ = ("person_uuid", "outcome", "version")+ PERSON_UUID_FIELD_NUMBER: _ClassVar[int]+ OUTCOME_FIELD_NUMBER: _ClassVar[int]+ VERSION_FIELD_NUMBER: _ClassVar[int]+ person_uuid: str+ outcome: VersionFloorOutcome+ version: int+ def __init__(+ self,+ person_uuid: _Optional[str] = ...,+ outcome: _Optional[_Union[VersionFloorOutcome, str]] = ...,+ version: _Optional[int] = ...,+ ) -> None: ...++class EnsurePersonVersionFloorsResponse(_message.Message):+ __slots__ = ("results",)+ RESULTS_FIELD_NUMBER: _ClassVar[int]+ results: _containers.RepeatedCompositeFieldContainer[PersonVersionFloorResult]+ def __init__(self, results: _Optional[_Iterable[_Union[PersonVersionFloorResult, _Mapping]]] = ...) -> None: ...+class FencePersonRequest(_message.Message):__slots__ = ("team_id", "person_id", "op_id", "op_type")TEAM_ID_FIELD_NUMBER: _ClassVar[int]diff --git a/posthog/models/person/test/test_util_personhog.py b/posthog/models/person/test/test_util_personhog.pyindex e9a46e493b69..6d29eca41ee6 100644--- a/posthog/models/person/test/test_util_personhog.py+++ b/posthog/models/person/test/test_util_personhog.py@@ -1,15 +1,24 @@+from uuid import UUID, uuid4+from posthog.test.base import BaseTestfrom unittest.mock import MagicMock, patchfrom django.test import SimpleTestCase+import grpc+from parameterized import parameterized+from posthog.models.person.util import (+ PERSONHOG_BATCH_SIZE,+ VERSION_FLOOR_ATTEMPTS,+ PersonVersionFloor,_fetch_person_by_distinct_id_via_personhog,_fetch_person_by_id_via_personhog,_fetch_person_by_uuid_via_personhog,_fetch_persons_by_distinct_ids_via_personhog,_fetch_persons_by_uuids_via_personhog,_validate_uuids_via_personhog,+ ensure_person_version_floors,get_person_by_pk_or_uuid,get_person_ids_and_uuids_by_uuids,get_person_uuids_by_distinct_ids,@@ -591,3 +600,55 @@ class TestGetPersonUuidsByDistinctIdsFieldMask(BaseTest):assert "id" in maskassert "team_id" in maskassert "properties" not in mask+++def _rpc_error(code: grpc.StatusCode) -> grpc.RpcError:+ error = grpc.RpcError()+ error.code = MagicMock(return_value=code)+ return error+++def _ensure_persons(uuids: list[UUID]) -> list[UUID]:+ floors = [PersonVersionFloor(uuid=u, min_version=3) for u in uuids]+ return [r.uuid for r in ensure_person_version_floors(1, floors)]+++class TestVersionRpcHelpers(SimpleTestCase):+ @patch("posthog.models.person.util.time.sleep")+ def test_a_lost_race_is_retried_until_the_call_commits(self, _sleep):+ uuids = [uuid4(), uuid4()]+ with fake_personhog_client() as fake:+ real = fake.ensure_person_version_floors+ lost = [_rpc_error(grpc.StatusCode.FAILED_PRECONDITION)] * (VERSION_FLOOR_ATTEMPTS - 1)++ def flaky(request):+ if lost:+ raise lost.pop()+ return real(request)++ with patch.object(fake, "ensure_person_version_floors", side_effect=flaky) as rpc:+ assert _ensure_persons(uuids) == uuids+ assert rpc.call_count == VERSION_FLOOR_ATTEMPTS++ @parameterized.expand(+ [+ (grpc.StatusCode.FAILED_PRECONDITION, VERSION_FLOOR_ATTEMPTS),+ (grpc.StatusCode.INTERNAL, 1),+ (grpc.StatusCode.INVALID_ARGUMENT, 1),+ ]+ )+ @patch("posthog.models.person.util.time.sleep")+ def test_gives_up_after_the_attempt_budget_and_never_retries_other_errors(self, code, attempts, _sleep):+ with fake_personhog_client() as fake:+ with patch.object(fake, "ensure_person_version_floors", side_effect=_rpc_error(code)) as rpc:+ with self.assertRaises(grpc.RpcError) as raised:+ _ensure_persons([uuid4()])+ assert raised.exception.code() == code+ assert rpc.call_count == attempts++ def test_splits_requests_at_the_replica_key_cap(self):+ uuids = [uuid4() for _ in range(PERSONHOG_BATCH_SIZE + 1)]+ with fake_personhog_client() as fake:+ results = _ensure_persons(uuids)+ fake.assert_called("ensure_person_version_floors", times=2)+ assert results == uuidsdiff --git a/posthog/models/person/util.py b/posthog/models/person/util.pyindex ad45c08c9f5b..86c411bb9238 100644--- a/posthog/models/person/util.py+++ b/posthog/models/person/util.py@@ -4,16 +4,19 @@ import jsonimport timeimport datetimeimport contextvars-from collections.abc import Sequence+from collections.abc import Callable, Sequencefrom concurrent.futures import ThreadPoolExecutorfrom dataclasses import dataclass, field-from typing import TYPE_CHECKING, Any, Optional, Union+from enum import StrEnum+from functools import partial+from typing import TYPE_CHECKING, Any, Optional, TypeVar, Unionfrom uuid import UUIDfrom zoneinfo import ZoneInfofrom django.conf import settingsfrom django.utils.timezone import now+import grpcimport structlogfrom dateutil.parser import isoparsefrom prometheus_client import Counter, Histogram@@ -33,12 +36,14 @@ from posthog.models.person.sql import (from posthog.models.utils import UUIDTfrom posthog.personhog_client.client import personhog_call, require_personhog_clientfrom posthog.personhog_client.converters import proto_person_to_model+from posthog.personhog_client.interceptor import is_transient_rpc_errorfrom posthog.personhog_client.metrics import PERSONHOG_TEAM_MISMATCH_TOTAL, get_client_namefrom posthog.personhog_client.proto import (AckedPersonTombstone,AckPersonTombstonesRequest,DeletePersonsMode,DeletePersonsRequest,+ EnsurePersonVersionFloorsRequest,GetDistinctIdsForPersonRequest,GetDistinctIdsForPersonsRequest,GetPersonByDistinctIdRequest,@@ -48,7 +53,9 @@ from posthog.personhog_client.proto import (GetPersonsByUuidsRequest,GetPersonTombstonesRequest,ListPersonTombstoneQueueRequest,+ PersonVersionFloor as PersonVersionFloorProto,ReadOptions,+ VersionFloorOutcome as VersionFloorOutcomeProto,)from posthog.settings import TEST@@ -940,3 +947,85 @@ def _delete_ch_distinct_id(team_id: int, uuid: UUID, distinct_id: str, version:version=version + 100,is_deleted=True,)+++# -- Version floors --++_T = TypeVar("_T")++# An ensure call waits out a concurrent insert of the same key and classifies the winner's row.+# It fails whole with FAILED_PRECONDITION, and commits nothing, only when that row is gone before the call can lock it.+VERSION_FLOOR_ATTEMPTS = 3+VERSION_FLOOR_RETRY_BACKOFF_SECONDS = 0.05+_LOST_RACE_CODES = frozenset({grpc.StatusCode.FAILED_PRECONDITION})+++class VersionFloorOutcome(StrEnum):+ TOMBSTONE_INSERTED = "tombstone_inserted"+ TOMBSTONE_RAISED = "tombstone_raised"+ TOMBSTONE_AT_FLOOR = "tombstone_at_floor"+ LIVE = "live"+++_FLOOR_OUTCOMES = {+ VersionFloorOutcomeProto.VERSION_FLOOR_OUTCOME_TOMBSTONE_INSERTED: VersionFloorOutcome.TOMBSTONE_INSERTED,+ VersionFloorOutcomeProto.VERSION_FLOOR_OUTCOME_TOMBSTONE_RAISED: VersionFloorOutcome.TOMBSTONE_RAISED,+ VersionFloorOutcomeProto.VERSION_FLOOR_OUTCOME_TOMBSTONE_AT_FLOOR: VersionFloorOutcome.TOMBSTONE_AT_FLOOR,+ VersionFloorOutcomeProto.VERSION_FLOOR_OUTCOME_LIVE: VersionFloorOutcome.LIVE,+}+++@frozen+class PersonVersionFloor:+ uuid: UUID+ min_version: int+++@frozen+class PersonVersionFloorResult:+ uuid: UUID+ outcome: VersionFloorOutcome+ version: int+++def _retry_lost_race(fn: Callable[[], _T]) -> _T:+ """Retry ``fn`` only on a lost race; every other error, including the INTERNAL lock timeout, propagates."""+ for attempt in range(1, VERSION_FLOOR_ATTEMPTS):+ try:+ return fn()+ except Exception as exc:+ if not is_transient_rpc_error(exc, codes=_LOST_RACE_CODES):+ raise+ time.sleep(VERSION_FLOOR_RETRY_BACKOFF_SECONDS * attempt)+ return fn()+++def ensure_person_version_floors(team_id: int, floors: Sequence[PersonVersionFloor]) -> list[PersonVersionFloorResult]:+ """Raise each person tombstone's Postgres version to at least ``min_version``, so a later revival lands above it.++ A missing person gets a tombstone and a live person is left unchanged. Each batch commits on its own and is+ safe to repeat; results keep request order. Publish a ClickHouse tombstone at the returned version for every+ result that is not LIVE, because the Postgres cleanup drain removes only tombstones the ClickHouse deletion+ sweep finds; a retry can report its own insert as TOMBSTONE_AT_FLOOR.+ """++ def personhog_fn() -> list[PersonVersionFloorResult]:+ results: list[PersonVersionFloorResult] = []+ for i in range(0, len(floors), PERSONHOG_BATCH_SIZE):+ request = EnsurePersonVersionFloorsRequest(+ team_id=team_id,+ floors=[+ PersonVersionFloorProto(person_uuid=str(f.uuid), min_version=f.min_version)+ for f in floors[i : i + PERSONHOG_BATCH_SIZE]+ ],+ )+ response = _retry_lost_race(partial(_get_client().ensure_person_version_floors, request))+ results.extend(+ PersonVersionFloorResult(+ uuid=UUID(r.person_uuid), outcome=_FLOOR_OUTCOMES[r.outcome], version=int(r.version)+ )+ for r in response.results+ )+ return results++ return personhog_call("ensure_person_version_floors", personhog_fn)diff --git a/posthog/personhog_client/README.md b/posthog/personhog_client/README.mdindex 4c3171fb4980..42bee7434292 100644--- a/posthog/personhog_client/README.md+++ b/posthog/personhog_client/README.md@@ -74,6 +74,10 @@ The `PersonHogClient` in `client.py` exposes typed methods for every RPC:**Person split:**`split_person` — splits distinct_ids off a person onto new persons (max 250 per request); the sole write path for person splits, with no ORM fallback+**Version floors:**+`ensure_person_version_floors` (raise each tombstone to a minimum version, inserting a tombstone where no row exists, and leave live rows unchanged; a lost insert race fails the whole request with `FAILED_PRECONDITION`).+Each write takes at most 250 keys in one transaction. Use the helper in `posthog/models/person/util.py`: it batches and retries a lost race.+**Cohort membership:**`check_cohort_membership`, `count_cohort_members`, `insert_cohort_members`,`delete_cohort_member`, `delete_cohort_members_bulk`, `list_cohort_member_ids`diff --git a/posthog/personhog_client/client.py b/posthog/personhog_client/client.pyindex 499471e5bbdb..bf5ea803f09c 100644--- a/posthog/personhog_client/client.py+++ b/posthog/personhog_client/client.py@@ -46,6 +46,8 @@ from posthog.personhog_client.proto import (DeletePersonsResponse,DeleteTombstonedPersonsRequest,DeleteTombstonedPersonsResponse,+ EnsurePersonVersionFloorsRequest,+ EnsurePersonVersionFloorsResponse,GetDistinctIdsForPersonRequest,GetDistinctIdsForPersonResponse,GetDistinctIdsForPersonsRequest,@@ -261,6 +263,13 @@ class PersonHogClient:) -> SetPersonVersionFloorResponse:return self._stub.SetPersonVersionFloor(request, timeout=timeout or self._timeout)+ # -- Version floors --++ def ensure_person_version_floors(+ self, request: EnsurePersonVersionFloorsRequest, timeout: float | None = None+ ) -> EnsurePersonVersionFloorsResponse:+ return self._stub.EnsurePersonVersionFloors(request, timeout=timeout or self._timeout)+# -- Person lookups --def get_person(self, request: GetPersonRequest) -> GetPersonResponse:diff --git a/posthog/personhog_client/fake_client.py b/posthog/personhog_client/fake_client.pyindex 1cf918ceb91b..2b3fb340c563 100644--- a/posthog/personhog_client/fake_client.py+++ b/posthog/personhog_client/fake_client.py@@ -49,6 +49,9 @@ def _order_identified_first(# The replica's row budget when a request leaves max_rows at 0.DELETE_TOMBSTONED_DEFAULT_ROWS = 1000+# The replica's cap on keys per version floor request.+VERSION_RPC_MAX_KEYS = 250+class FakePersonHogClient:"""In-memory fake that implements the same interface as PersonHogClient.@@ -89,7 +92,7 @@ class FakePersonHogClient:# keyed by (cohort_id, person_id) -> Trueself._cohort_members: dict[tuple[int, int], bool] = {}- # synthetic ids for persons created by split_person+ # synthetic ids for persons created by split_person and ensure_person_version_floorsself._next_split_person_id = 1_000_000_000# monotonic counter for distinct ID row IDs@@ -896,6 +899,59 @@ class FakePersonHogClient:person.version = request.min_versionreturn person_pb2.SetPersonVersionFloorResponse(updated=True)+ # ── Version floors ─────++ @staticmethod+ def _check_version_rpc_batch(keys: list[str]) -> None:+ """Mirror the server's INVALID_ARGUMENT checks."""+ if len(keys) > VERSION_RPC_MAX_KEYS:+ raise ValueError(f"Maximum {VERSION_RPC_MAX_KEYS} keys per request")+ if len(set(keys)) != len(keys):+ raise ValueError("Duplicate key in request")++ def _insert_person_tombstone(self, team_id: int, uuid: str, version: int) -> person_pb2.Person:+ self._next_split_person_id += 1+ return self.add_person(+ team_id=team_id,+ person_id=self._next_split_person_id,+ uuid=uuid,+ version=version,+ is_deleted=True,+ created_at=int(time.time() * 1000),+ )++ @staticmethod+ def _floor_outcome(is_deleted: bool, version: int, min_version: int) -> person_pb2.VersionFloorOutcome:+ if not is_deleted:+ return person_pb2.VERSION_FLOOR_OUTCOME_LIVE+ if version < min_version:+ return person_pb2.VERSION_FLOOR_OUTCOME_TOMBSTONE_RAISED+ return person_pb2.VERSION_FLOOR_OUTCOME_TOMBSTONE_AT_FLOOR++ def ensure_person_version_floors(+ self, request: person_pb2.EnsurePersonVersionFloorsRequest, timeout: float | None = None+ ) -> person_pb2.EnsurePersonVersionFloorsResponse:+ self.calls.append(_Call("ensure_person_version_floors", request))+ self._check_version_rpc_batch([f.person_uuid for f in request.floors])+ if any(f.min_version < 0 for f in request.floors):+ raise ValueError("min_version must not be negative")+ response = person_pb2.EnsurePersonVersionFloorsResponse()+ for floor in request.floors:+ person = self._persons_by_uuid.get((request.team_id, floor.person_uuid))+ if person is None:+ self._insert_person_tombstone(request.team_id, floor.person_uuid, floor.min_version)+ response.results.add(+ person_uuid=floor.person_uuid,+ outcome=person_pb2.VERSION_FLOOR_OUTCOME_TOMBSTONE_INSERTED,+ version=floor.min_version,+ )+ continue+ outcome = self._floor_outcome(person.is_deleted, person.version, floor.min_version)+ if person.is_deleted:+ person.version = max(person.version, floor.min_version)+ response.results.add(person_uuid=floor.person_uuid, outcome=outcome, version=person.version)+ return response+# ── Assertion helpers ────────────────────────────────────────────def assert_called(self, method: str, *, times: int | None = None) -> list[_Call]:diff --git a/posthog/personhog_client/proto/__init__.py b/posthog/personhog_client/proto/__init__.pyindex eb7989b6cac8..c109e1f66c91 100644--- a/posthog/personhog_client/proto/__init__.py+++ b/posthog/personhog_client/proto/__init__.py@@ -104,4 +104,9 @@ from personhog.types.v1.person_pb2 import (SplitPersonRequest,SplitPersonResponse,SplitResult,+ VersionFloorOutcome,+ PersonVersionFloor,+ EnsurePersonVersionFloorsRequest,+ EnsurePersonVersionFloorsResponse,+ PersonVersionFloorResult,)diff --git a/posthog/personhog_client/test_fake_client.py b/posthog/personhog_client/test_fake_client.pyindex 98ae4f32f702..71780593cc2b 100644--- a/posthog/personhog_client/test_fake_client.py+++ b/posthog/personhog_client/test_fake_client.py@@ -662,3 +662,84 @@ class TestFakePersonHogClientDeleteTombstonedPersons:stored = self.client.stored_person(self.TEAM_ID, "live")assert stored is not None and stored.is_deletedassert stored.version == 1+++class TestFakePersonHogClientVersionRpcs:+ TEAM_ID = 7+ OTHER_TEAM_ID = 8++ def setup_method(self):+ self.client = FakePersonHogClient()+ self.client.add_person(+ team_id=self.TEAM_ID,+ person_id=1,+ uuid="live",+ version=2,+ distinct_ids=["live-did"],+ distinct_id_versions={"live-did": 1},+ )+ self.client.add_person(team_id=self.TEAM_ID, person_id=2, uuid="tomb-low", version=3, is_deleted=True)+ self.client.add_person(+ team_id=self.TEAM_ID,+ person_id=3,+ uuid="tomb-high",+ version=9,+ is_deleted=True,+ distinct_ids=["tomb-did"],+ distinct_id_versions={"tomb-did": 4},+ tombstoned_distinct_ids=["tomb-did"],+ )+ self.client.add_person(+ team_id=self.OTHER_TEAM_ID, person_id=4, uuid="elsewhere", version=1, distinct_ids=["elsewhere-did"]+ )++ def _ensure_persons(self, *floors: tuple[str, int]) -> list[person_pb2.PersonVersionFloorResult]:+ response = self.client.ensure_person_version_floors(+ person_pb2.EnsurePersonVersionFloorsRequest(+ team_id=self.TEAM_ID,+ floors=[person_pb2.PersonVersionFloor(person_uuid=u, min_version=m) for u, m in floors],+ )+ )+ return list(response.results)++ def test_ensure_person_floors_classifies_each_row_and_raises_only_tombstones_below_the_floor(self):+ live = person_pb2.VERSION_FLOOR_OUTCOME_LIVE+ raised = person_pb2.VERSION_FLOOR_OUTCOME_TOMBSTONE_RAISED+ at_floor = person_pb2.VERSION_FLOOR_OUTCOME_TOMBSTONE_AT_FLOOR+ inserted = person_pb2.VERSION_FLOOR_OUTCOME_TOMBSTONE_INSERTED+ floors = (("live", 5), ("tomb-low", 5), ("tomb-high", 5), ("missing", 5), ("elsewhere", 5))++ result = person_pb2.PersonVersionFloorResult+ assert self._ensure_persons(*floors) == [+ result(person_uuid="live", outcome=live, version=2),+ result(person_uuid="tomb-low", outcome=raised, version=5),+ result(person_uuid="tomb-high", outcome=at_floor, version=9),+ result(person_uuid="missing", outcome=inserted, version=5),+ result(person_uuid="elsewhere", outcome=inserted, version=5),+ ]+ live_person = self.client.stored_person(self.TEAM_ID, "live")+ assert live_person is not None and (live_person.is_deleted, live_person.version) == (False, 2)+ missing = self.client.stored_person(self.TEAM_ID, "missing")+ assert missing is not None and missing.is_deleted+ other_team = self.client.stored_person(self.OTHER_TEAM_ID, "elsewhere")+ assert other_team is not None and other_team.version == 1+ assert [r.outcome for r in self._ensure_persons(*floors)] == [+ live,+ at_floor,+ at_floor,+ at_floor,+ at_floor,+ ]++ @pytest.mark.parametrize(+ "keys,min_version,error",+ [+ ([f"k-{i}" for i in range(251)], 0, "Maximum 250"),+ (["k", "k"], 0, "Duplicate key"),+ (["k"], -1, "must not be negative"),+ ],+ )+ def test_rejects_batches_the_replica_rejects(self, keys, min_version, error):+ with pytest.raises(ValueError, match=error):+ self._ensure_persons(*((k, min_version) for k in keys))+ assert self.client.stored_person(self.TEAM_ID, keys[0]) is Nonediff --git a/proto/personhog/replica/v1/replica.proto b/proto/personhog/replica/v1/replica.protoindex 911c6ae282a7..bae7dd6e3cf9 100644--- a/proto/personhog/replica/v1/replica.proto+++ b/proto/personhog/replica/v1/replica.proto@@ -75,4 +75,7 @@ service PersonHogReplica {// Undelete repair version resets (temporary: same routing caveat as deletes above)rpc SetPersonDistinctIdVersionFloor(personhog.types.v1.SetPersonDistinctIdVersionFloorRequest) returns (personhog.types.v1.SetPersonDistinctIdVersionFloorResponse);rpc SetPersonVersionFloor(personhog.types.v1.SetPersonVersionFloorRequest) returns (personhog.types.v1.SetPersonVersionFloorResponse);++ // ClickHouse cleanup version floors (temporary: same routing caveat as deletes above)+ rpc EnsurePersonVersionFloors(personhog.types.v1.EnsurePersonVersionFloorsRequest) returns (personhog.types.v1.EnsurePersonVersionFloorsResponse);}diff --git a/proto/personhog/service/v1/service.proto b/proto/personhog/service/v1/service.protoindex 5effd59de556..fb0ef04ad52b 100644--- a/proto/personhog/service/v1/service.proto+++ b/proto/personhog/service/v1/service.proto@@ -100,4 +100,8 @@ service PersonHogService {// Undelete repair version resets. Same routing caveat as DeletePersons above.rpc SetPersonDistinctIdVersionFloor(personhog.types.v1.SetPersonDistinctIdVersionFloorRequest) returns (personhog.types.v1.SetPersonDistinctIdVersionFloorResponse);rpc SetPersonVersionFloor(personhog.types.v1.SetPersonVersionFloorRequest) returns (personhog.types.v1.SetPersonVersionFloorResponse);++ // Version floors for the ClickHouse cleanup jobs.+ // The write goes to the primary: same routing caveat as DeletePersons above.+ rpc EnsurePersonVersionFloors(personhog.types.v1.EnsurePersonVersionFloorsRequest) returns (personhog.types.v1.EnsurePersonVersionFloorsResponse);}diff --git a/proto/personhog/types/v1/person.proto b/proto/personhog/types/v1/person.protoindex 297e593c4352..306284173f63 100644--- a/proto/personhog/types/v1/person.proto+++ b/proto/personhog/types/v1/person.proto@@ -386,6 +386,46 @@ message SetPersonVersionFloorResponse {bool updated = 1;}+// What EnsurePersonVersionFloors found and did for one person.+enum VersionFloorOutcome {+ VERSION_FLOOR_OUTCOME_UNSPECIFIED = 0;+ // No row existed. The call inserted a tombstone at min_version.+ VERSION_FLOOR_OUTCOME_TOMBSTONE_INSERTED = 1;+ // A tombstone below min_version. The call raised it to min_version.+ VERSION_FLOOR_OUTCOME_TOMBSTONE_RAISED = 2;+ // A tombstone at or above min_version. Nothing changed.+ VERSION_FLOOR_OUTCOME_TOMBSTONE_AT_FLOOR = 3;+ // A live row. Nothing changed: the call never raises a live row.+ VERSION_FLOOR_OUTCOME_LIVE = 4;+}++message PersonVersionFloor {+ string person_uuid = 1;+ int64 min_version = 2;+}++// EnsurePersonVersionFloorsRequest raises each person tombstone to at least min_version in one transaction,+// inserting a tombstone for a missing person and leaving a live person unchanged. Publish a ClickHouse tombstone+// at the returned version for every non-LIVE result, because the Postgres cleanup drain removes only tombstones+// the ClickHouse deletion sweep finds.+message EnsurePersonVersionFloorsRequest {+ int64 team_id = 1;+ // Max 250 per request. Duplicate person_uuids are rejected.+ repeated PersonVersionFloor floors = 2;+}++message PersonVersionFloorResult {+ string person_uuid = 1;+ VersionFloorOutcome outcome = 2;+ // The stored version after the call.+ int64 version = 3;+}++message EnsurePersonVersionFloorsResponse {+ // Same order as the request.+ repeated PersonVersionFloorResult results = 1;+}+// FencePersonRequest freezes a person for a lifecycle operation (see// PersonHogLeader.FencePerson). op_id is the saga's caller-supplied UUID;// op_type selects the rejection surfaced to writers while the fence holds.diff --git a/rust/personhog-replica/src/service/mod.rs b/rust/personhog-replica/src/service/mod.rsindex 449ebecbad1f..4e67a2fde8eb 100644--- a/rust/personhog-replica/src/service/mod.rs+++ b/rust/personhog-replica/src/service/mod.rs@@ -22,7 +22,8 @@ use personhog_proto::personhog::types::v1::{DeleteHashKeyOverridesByTeamsResponse, DeletePersonsBatchForTeamRequest,DeletePersonsBatchForTeamResponse, DeletePersonsMode as ProtoDeletePersonsMode,DeletePersonsRequest, DeletePersonsResponse, DeleteTombstonedPersonsRequest,- DeleteTombstonedPersonsResponse, DistinctIdWithVersion, GetDistinctIdsForPersonRequest,+ DeleteTombstonedPersonsResponse, DistinctIdWithVersion, EnsurePersonVersionFloorsRequest,+ EnsurePersonVersionFloorsResponse, GetDistinctIdsForPersonRequest,GetDistinctIdsForPersonResponse, GetDistinctIdsForPersonsRequest,GetDistinctIdsForPersonsResponse, GetGroupRequest, GetGroupResponse,GetGroupTypeMappingByDashboardIdRequest, GetGroupTypeMappingByDashboardIdResponse,@@ -39,13 +40,15 @@ use personhog_proto::personhog::types::v1::{InsertCohortMembersRequest, InsertCohortMembersResponse, ListCohortMemberIdsRequest,ListCohortMemberIdsResponse, ListGroupsRequest, ListGroupsResponse,ListPersonTombstoneQueueRequest, ListPersonTombstoneQueueResponse, PersonDistinctIds,- PersonTombstoneQueueEntry, PersonWithDistinctIds, PersonWithTeamDistinctId,- PersonsByDistinctIdsInTeamResponse, PersonsByDistinctIdsResponse, PersonsResponse,- SetPersonDistinctIdVersionFloorRequest, SetPersonDistinctIdVersionFloorResponse,- SetPersonVersionFloorRequest, SetPersonVersionFloorResponse, SplitPersonRequest,- SplitPersonResponse, SplitResult as ProtoSplitResult, TeamDistinctId, TombstonedDistinctId,- TombstonedPerson, UpdateGroupRequest, UpdateGroupResponse, UpdateGroupTypeMappingRequest,+ PersonTombstoneQueueEntry, PersonVersionFloorResult, PersonWithDistinctIds,+ PersonWithTeamDistinctId, PersonsByDistinctIdsInTeamResponse, PersonsByDistinctIdsResponse,+ PersonsResponse, SetPersonDistinctIdVersionFloorRequest,+ SetPersonDistinctIdVersionFloorResponse, SetPersonVersionFloorRequest,+ SetPersonVersionFloorResponse, SplitPersonRequest, SplitPersonResponse,+ SplitResult as ProtoSplitResult, TeamDistinctId, TombstonedDistinctId, TombstonedPerson,+ UpdateGroupRequest, UpdateGroupResponse, UpdateGroupTypeMappingRequest,UpdateGroupTypeMappingResponse, UpsertHashKeyOverridesRequest, UpsertHashKeyOverridesResponse,+ VersionFloorOutcome as ProtoVersionFloorOutcome,};use tonic::{Request, Response, Status};use uuid::Uuid;@@ -60,6 +63,9 @@ const MAX_LIST_GROUPS_LIMIT: i32 = 1_000;// Splits run in a single all-or-nothing transaction holding row locks, so the// cap bounds both lock-hold time and payload size — same order as batch lookups.const MAX_SPLIT_BATCH_SIZE: usize = 250;+// Version floors also run in one transaction holding+// row locks, so they take the same cap as splits.+const MAX_LOCKED_WRITE_BATCH_SIZE: usize = 250;use consistency::{reject_strong_consistency, to_storage_consistency};use error::log_and_convert_error;@@ -1521,6 +1527,103 @@ impl PersonHogReplica for PersonHogReplicaService {Ok(Response::new(SetPersonVersionFloorResponse { updated }))}++ // ============================================================+ // Version floors+ // ============================================================++ async fn ensure_person_version_floors(+ &self,+ request: Request<EnsurePersonVersionFloorsRequest>,+ ) -> Result<Response<EnsurePersonVersionFloorsResponse>, Status> {+ let req = request.into_inner();++ check_floor_batch(+ req.floors+ .iter()+ .map(|f| (f.person_uuid.as_str(), f.min_version)),+ )?;+ let floors: Vec<(Uuid, i64)> = req+ .floors+ .iter()+ .map(|f| parse_uuid(&f.person_uuid).map(|uuid| (uuid, f.min_version)))+ .collect::<Result<_, _>>()?;+ // Two spellings of one UUID pass the string check but lock the same row.+ let mut seen = HashSet::with_capacity(floors.len());+ if let Some((uuid, _)) = floors.iter().find(|(uuid, _)| !seen.insert(*uuid)) {+ return Err(Status::invalid_argument(format!(+ "Duplicate key in request: {uuid}"+ )));+ }++ let results = self+ .storage+ .ensure_person_version_floors(req.team_id, &floors)+ .await+ .map_err(|e| log_and_convert_error(e, "ensure_person_version_floors"))?;++ Ok(Response::new(EnsurePersonVersionFloorsResponse {+ results: results+ .into_iter()+ .map(|r| PersonVersionFloorResult {+ person_uuid: r.uuid.to_string(),+ outcome: floor_outcome_to_proto(r.outcome) as i32,+ version: r.version,+ })+ .collect(),+ }))+ }+}++#[allow(clippy::result_large_err)]+fn parse_uuid(s: &str) -> Result<Uuid, Status> {+ Uuid::parse_str(s).map_err(|e| Status::invalid_argument(format!("Invalid UUID: {e}")))+}++#[allow(clippy::result_large_err)]+fn check_write_batch<'a>(keys: impl ExactSizeIterator<Item = &'a str>) -> Result<(), Status> {+ if keys.len() > MAX_LOCKED_WRITE_BATCH_SIZE {+ return Err(Status::invalid_argument(format!(+ "Maximum {MAX_LOCKED_WRITE_BATCH_SIZE} keys per request"+ )));+ }+ let mut seen = HashSet::with_capacity(keys.len());+ for key in keys {+ if !seen.insert(key) {+ return Err(Status::invalid_argument(format!(+ "Duplicate key in request: {key}"+ )));+ }+ }+ Ok(())+}++#[allow(clippy::result_large_err)]+fn check_floor_batch<'a>(+ floors: impl ExactSizeIterator<Item = (&'a str, i64)> + Clone,+) -> Result<(), Status> {+ check_write_batch(floors.clone().map(|(key, _)| key))?;+ for (key, min_version) in floors {+ if min_version < 0 {+ return Err(Status::invalid_argument(format!(+ "min_version must not be negative, got {min_version} for {key}"+ )));+ }+ }+ Ok(())+}++fn floor_outcome_to_proto(outcome: storage::VersionFloorOutcome) -> ProtoVersionFloorOutcome {+ match outcome {+ storage::VersionFloorOutcome::TombstoneInserted => {+ ProtoVersionFloorOutcome::TombstoneInserted+ }+ storage::VersionFloorOutcome::TombstoneRaised => ProtoVersionFloorOutcome::TombstoneRaised,+ storage::VersionFloorOutcome::TombstoneAtFloor => {+ ProtoVersionFloorOutcome::TombstoneAtFloor+ }+ storage::VersionFloorOutcome::Live => ProtoVersionFloorOutcome::Live,+ }}fn tombstone_to_proto(person: storage::types::TombstonedPerson) -> TombstonedPerson {diff --git a/rust/personhog-replica/src/service/tests/mocks.rs b/rust/personhog-replica/src/service/tests/mocks.rsindex adcc53bee39b..3e040dfeefcd 100644--- a/rust/personhog-replica/src/service/tests/mocks.rs+++ b/rust/personhog-replica/src/service/tests/mocks.rs@@ -28,6 +28,12 @@ impl FailingStorage {error: storage::StorageError::Query("syntax error at position 42".to_string()),}}++ pub fn with_failed_precondition() -> Self {+ Self {+ error: storage::StorageError::FailedPrecondition("rows changed; retry".to_string()),+ }+ }}#[async_trait]diff --git a/rust/personhog-replica/src/service/tests/mod.rs b/rust/personhog-replica/src/service/tests/mod.rsindex ee35f6e3db1c..865988d7c986 100644--- a/rust/personhog-replica/src/service/tests/mod.rs+++ b/rust/personhog-replica/src/service/tests/mod.rs@@ -10,9 +10,10 @@ use personhog_proto::personhog::types::v1::{DeleteCohortMembersBulkRequest, DeleteGroupTypeMappingRequest,DeleteGroupTypeMappingsBatchForTeamRequest, DeleteGroupsBatchForTeamRequest,DeletePersonsBatchForTeamRequest, DeletePersonsRequest, DeleteTombstonedPersonsRequest,- GetGroupRequest, GetPersonRequest, GetPersonsByDistinctIdsInTeamRequest,- InsertCohortMembersRequest, ListCohortMemberIdsRequest, UpdateGroupRequest,- UpdateGroupTypeMappingRequest, UpsertHashKeyOverridesRequest,+ EnsurePersonVersionFloorsRequest, GetGroupRequest, GetPersonRequest,+ GetPersonsByDistinctIdsInTeamRequest, InsertCohortMembersRequest, ListCohortMemberIdsRequest,+ PersonVersionFloor, UpdateGroupRequest, UpdateGroupTypeMappingRequest,+ UpsertHashKeyOverridesRequest,};use rstest::rstest;use tonic::Request;@@ -1060,6 +1061,84 @@ async fn test_delete_group_type_mappings_batch_for_team_success() {assert!(result.is_ok());}+// ============================================================+// Version floor tests+// ============================================================++const OWNER_UUID: &str = "00000000-0000-0000-0000-000000000001";++fn uuid_keys(n: usize) -> Vec<String> {+ (0..n)+ .map(|i| format!("00000000-0000-0000-0000-{i:012}"))+ .collect()+}++async fn ensure_person_floors(+ service: &PersonHogReplicaService,+ keys: Vec<String>,+ min_version: i64,+) -> Result<(), tonic::Status> {+ service+ .ensure_person_version_floors(Request::new(EnsurePersonVersionFloorsRequest {+ team_id: 1,+ floors: keys+ .into_iter()+ .map(|person_uuid| PersonVersionFloor {+ person_uuid,+ min_version,+ })+ .collect(),+ }))+ .await+ .map(|_| ())+}++#[rstest]+#[case::at_cap(uuid_keys(250), 0, None)]+#[case::over_cap(uuid_keys(251), 0, Some("Maximum 250"))]+#[case::duplicate(vec![OWNER_UUID.to_string(), OWNER_UUID.to_string()], 0, Some("Duplicate key"))]+#[case::duplicate_spelling(vec!["0000000a-0000-0000-0000-00000000000b".to_string(), "0000000A-0000-0000-0000-00000000000B".to_string()], 0, Some("Duplicate key"))]+#[case::negative(uuid_keys(1), -1, Some("must not be negative"))]+#[case::bad_uuid(vec!["nope".to_string()], 0, Some("Invalid UUID"))]+#[tokio::test]+async fn test_ensure_person_version_floors_input_validation(+ #[case] keys: Vec<String>,+ #[case] min_version: i64,+ #[case] expected_error: Option<&str>,+) {+ let service = PersonHogReplicaService::new(Arc::new(mocks::SuccessStorage));++ let result = ensure_person_floors(&service, keys, min_version).await;++ match expected_error {+ None => assert!(result.is_ok(), "{result:?}"),+ Some(message) => {+ let status = result.unwrap_err();+ assert_eq!(status.code(), tonic::Code::InvalidArgument);+ assert!(status.message().contains(message), "{}", status.message());+ }+ }+}++#[rstest]+#[case::connection_error(FailingStorage::with_connection_error(), tonic::Code::Unavailable)]+#[case::query_error(FailingStorage::with_query_error(), tonic::Code::Internal)]+#[case::lost_race(+ FailingStorage::with_failed_precondition(),+ tonic::Code::FailedPrecondition+)]+#[tokio::test]+async fn test_ensure_person_version_floors_storage_error(+ #[case] storage: FailingStorage,+ #[case] expected_code: tonic::Code,+) {+ let service = PersonHogReplicaService::new(Arc::new(storage));++ let result = ensure_person_floors(&service, uuid_keys(1), 0).await;++ assert_eq!(result.unwrap_err().code(), expected_code);+}+// ============================================================// UpsertHashKeyOverrides tests// ============================================================diff --git a/rust/personhog-replica/tests/service_tests.rs b/rust/personhog-replica/tests/service_tests.rsindex 0a45daa27022..3b0582e82358 100644--- a/rust/personhog-replica/tests/service_tests.rs+++ b/rust/personhog-replica/tests/service_tests.rs@@ -5,15 +5,16 @@ use personhog_proto::personhog::replica::v1::person_hog_replica_server::PersonHouse personhog_proto::personhog::types::v1::{CheckCohortMembershipRequest, CountGroupTypeMappingsRequest,DeleteHashKeyOverridesByTeamsRequest, DeletePersonsBatchForTeamRequest, DeletePersonsMode,- DeletePersonsRequest, DeleteTombstonedPersonsRequest, GetDistinctIdsForPersonRequest,- GetDistinctIdsForPersonsRequest, GetGroupRequest, GetGroupTypeMappingsByProjectIdRequest,- GetGroupTypeMappingsByProjectIdsRequest, GetGroupTypeMappingsByTeamIdRequest,- GetGroupTypeMappingsByTeamIdsRequest, GetGroupsBatchRequest, GetGroupsRequest,- GetHashKeyOverrideContextRequest, GetPersonByDistinctIdRequest, GetPersonByUuidRequest,- GetPersonRequest, GetPersonsByDistinctIdsInTeamRequest, GetPersonsByDistinctIdsRequest,- GetPersonsByUuidsRequest, GetPersonsRequest, GroupIdentifier, GroupKey,+ DeletePersonsRequest, DeleteTombstonedPersonsRequest, EnsurePersonVersionFloorsRequest,+ GetDistinctIdsForPersonRequest, GetDistinctIdsForPersonsRequest, GetGroupRequest,+ GetGroupTypeMappingsByProjectIdRequest, GetGroupTypeMappingsByProjectIdsRequest,+ GetGroupTypeMappingsByTeamIdRequest, GetGroupTypeMappingsByTeamIdsRequest,+ GetGroupsBatchRequest, GetGroupsRequest, GetHashKeyOverrideContextRequest,+ GetPersonByDistinctIdRequest, GetPersonByUuidRequest, GetPersonRequest,+ GetPersonsByDistinctIdsInTeamRequest, GetPersonsByDistinctIdsRequest, GetPersonsByUuidsRequest,+ GetPersonsRequest, GroupIdentifier, GroupKey, PersonVersionFloor, PersonVersionFloorResult,SetPersonDistinctIdVersionFloorRequest, SetPersonVersionFloorRequest, SplitPersonRequest,- TeamDistinctId, UpsertHashKeyOverridesRequest,+ TeamDistinctId, UpsertHashKeyOverridesRequest, VersionFloorOutcome,};use personhog_replica::service::PersonHogReplicaService;use rstest::rstest;@@ -1666,3 +1667,46 @@ async fn test_set_person_version_floor() {ctx.cleanup().await.ok();}++#[tokio::test]+async fn test_ensure_person_version_floors_maps_results_to_proto() {+ let ctx = ServiceTestContext::new().await;+ let person = ctx.insert_person("svc_floor_live", None).await.unwrap();+ let absent_person = Uuid::now_v7();++ let person_floors = ctx+ .service+ .ensure_person_version_floors(Request::new(EnsurePersonVersionFloorsRequest {+ team_id: ctx.team_id,+ floors: vec![+ PersonVersionFloor {+ person_uuid: person.uuid.to_string(),+ min_version: 2,+ },+ PersonVersionFloor {+ person_uuid: absent_person.to_string(),+ min_version: 5,+ },+ ],+ }))+ .await+ .unwrap()+ .into_inner();+ assert_eq!(+ person_floors.results,+ vec![+ PersonVersionFloorResult {+ person_uuid: person.uuid.to_string(),+ outcome: VersionFloorOutcome::Live as i32,+ version: 0,+ },+ PersonVersionFloorResult {+ person_uuid: absent_person.to_string(),+ outcome: VersionFloorOutcome::TombstoneInserted as i32,+ version: 5,+ },+ ]+ );++ ctx.cleanup().await.ok();+}diff --git a/rust/personhog-router/src/proxy.rs b/rust/personhog-router/src/proxy.rsindex a3eb6709f665..ac87db07f080 100644--- a/rust/personhog-router/src/proxy.rs+++ b/rust/personhog-router/src/proxy.rs@@ -43,6 +43,7 @@ pub const KNOWN_METHODS: &[&str] = &["DeletePersons","DeletePersonsBatchForTeam","DeleteTombstonedPersons",+ "EnsurePersonVersionFloors","FencePerson","FencePersons","FoldPersonDocument",diff --git a/rust/personhog-router/tests/common/mod.rs b/rust/personhog-router/tests/common/mod.rsindex 0051da715a71..c96c2968f993 100644--- a/rust/personhog-router/tests/common/mod.rs+++ b/rust/personhog-router/tests/common/mod.rs@@ -36,6 +36,7 @@ use personhog_proto::personhog::types::v1::{DeleteHashKeyOverridesByTeamsResponse, DeletePersonsBatchForTeamRequest,DeletePersonsBatchForTeamResponse, DeletePersonsRequest, DeletePersonsResponse,DeleteTombstonedPersonsRequest, DeleteTombstonedPersonsResponse,+ EnsurePersonVersionFloorsRequest, EnsurePersonVersionFloorsResponse,GetDistinctIdsForPersonRequest, GetDistinctIdsForPersonResponse,GetDistinctIdsForPersonsRequest, GetDistinctIdsForPersonsResponse, GetGroupRequest,GetGroupResponse, GetGroupTypeMappingByDashboardIdRequest,@@ -537,6 +538,13 @@ impl PersonHogReplica for TestReplicaService {updated: false,}))}++ async fn ensure_person_version_floors(+ &self,+ _request: Request<EnsurePersonVersionFloorsRequest>,+ ) -> Result<Response<EnsurePersonVersionFloorsResponse>, Status> {+ Ok(Response::new(EnsurePersonVersionFloorsResponse::default()))+ }}/// Start a test replica server on a random port and return its addressdiff --git a/rust/property-defs-rs/tests/group_type_resolver.rs b/rust/property-defs-rs/tests/group_type_resolver.rsindex bced0a5778d5..b2a5831636de 100644--- a/rust/property-defs-rs/tests/group_type_resolver.rs+++ b/rust/property-defs-rs/tests/group_type_resolver.rs@@ -443,6 +443,13 @@ impl PersonHogService for MockPersonHogService {) -> Result<Response<SetPersonVersionFloorResponse>, Status> {Err(Status::unimplemented(""))}++ async fn ensure_person_version_floors(+ &self,+ _: Request<EnsurePersonVersionFloorsRequest>,+ ) -> Result<Response<EnsurePersonVersionFloorsResponse>, Status> {+ Err(Status::unimplemented(""))+ }}// -- helpers ------------------------------------------------------------