Skip to content

: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.

feat(personhog): add tombstone queue insert and read, list, ack RPCs (#105460)

Nick Bestaf50cdc57c77
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.ts
index abe79fbf24f1..8236fd3fa98e 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
@@ -61,6 +61,8 @@ import type {
} from '../../types/v1/group_pb'
import { file_personhog_types_v1_group } from '../../types/v1/group_pb'
import type {
+ AckPersonTombstonesRequestSchema,
+ AckPersonTombstonesResponseSchema,
DeletePersonsBatchForTeamRequestSchema,
DeletePersonsBatchForTeamResponseSchema,
DeletePersonsRequestSchema,
@@ -81,10 +83,14 @@ import type {
GetPersonByUuidRequestSchema,
GetPersonRequestSchema,
GetPersonResponseSchema,
+ GetPersonTombstonesRequestSchema,
+ GetPersonTombstonesResponseSchema,
GetPersonsByDistinctIdsInTeamRequestSchema,
GetPersonsByDistinctIdsRequestSchema,
GetPersonsByUuidsRequestSchema,
GetPersonsRequestSchema,
+ ListPersonTombstoneQueueRequestSchema,
+ ListPersonTombstoneQueueResponseSchema,
PersonsByDistinctIdsInTeamResponseSchema,
PersonsByDistinctIdsResponseSchema,
PersonsResponseSchema,
@@ -109,7 +115,7 @@ import { file_personhog_types_v1_person } from '../../types/v1/person_pb'
export const file_personhog_service_v1_service: GenFile =
/*@__PURE__*/
fileDesc(
- 'CiJwZXJzb25ob2cvc2VydmljZS92MS9zZXJ2aWNlLnByb3RvEhRwZXJzb25ob2cuc2VydmljZS52MTLcKwoQUGVyc29uSG9nU2VydmljZRJYCglHZXRQZXJzb24SJC5wZXJzb25ob2cudHlwZXMudjEuR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mgEKH1NldFBlcnNvbkRpc3RpbmN0SWRWZXJzaW9uRmxvb3ISOi5wZXJzb25ob2cudHlwZXMudjEuU2V0UGVyc29uRGlzdGluY3RJZFZlcnNpb25GbG9vclJlcXVlc3QaOy5wZXJzb25ob2cudHlwZXMudjEuU2V0UGVyc29uRGlzdGluY3RJZFZlcnNpb25GbG9vclJlc3BvbnNlEnwKFVNldFBlcnNvblZlcnNpb25GbG9vchIwLnBlcnNvbmhvZy50eXBlcy52MS5TZXRQZXJzb25WZXJzaW9uRmxvb3JSZXF1ZXN0GjEucGVyc29uaG9nLnR5cGVzLnYxLlNldFBlcnNvblZlcnNpb25GbG9vclJlc3BvbnNlYgZwcm90bzM',
[
file_personhog_types_v1_person,
file_personhog_types_v1_group,
@@ -508,6 +514,30 @@ export const PersonHogService: GenService<{
input: typeof DeleteTombstonedPersonsRequestSchema
output: typeof DeleteTombstonedPersonsResponseSchema
}
+ /**
+ * @generated from rpc personhog.service.v1.PersonHogService.GetPersonTombstones
+ */
+ getPersonTombstones: {
+ methodKind: 'unary'
+ input: typeof GetPersonTombstonesRequestSchema
+ output: typeof GetPersonTombstonesResponseSchema
+ }
+ /**
+ * @generated from rpc personhog.service.v1.PersonHogService.AckPersonTombstones
+ */
+ ackPersonTombstones: {
+ methodKind: 'unary'
+ input: typeof AckPersonTombstonesRequestSchema
+ output: typeof AckPersonTombstonesResponseSchema
+ }
+ /**
+ * @generated from rpc personhog.service.v1.PersonHogService.ListPersonTombstoneQueue
+ */
+ listPersonTombstoneQueue: {
+ methodKind: 'unary'
+ input: typeof ListPersonTombstoneQueueRequestSchema
+ output: typeof ListPersonTombstoneQueueResponseSchema
+ }
/**
* Person split
* WARNING: Same routing caveat as DeletePersons above — write operation on person data
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.ts
index baf4baa76dd4..086286f0810e 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(
- 'Ch9wZXJzb25ob2cvdHlwZXMvdjEvcGVyc29uLnByb3RvEhJwZXJzb25ob2cudHlwZXMudjEisgIKBlBlcnNvbhIKCgJpZBgBIAEoAxIMCgR1dWlkGAIgASgJEg8KB3RlYW1faWQYAyABKAMSEgoKcHJvcGVydGllcxgEIAEoDBIiChpwcm9wZXJ0aWVzX2xhc3RfdXBkYXRlZF9hdBgFIAEoDBIhChlwcm9wZXJ0aWVzX2xhc3Rfb3BlcmF0aW9uGAYgASgMEhIKCmNyZWF0ZWRfYXQYByABKAMSDwoHdmVyc2lvbhgIIAEoAxIVCg1pc19pZGVudGlmaWVkGAkgASgIEhcKCmlzX3VzZXJfaWQYCiABKAhIAIgBARIZCgxsYXN0X3NlZW5fYXQYCyABKANIAYgBARISCgppc19kZWxldGVkGAwgASgIQg0KC19pc191c2VyX2lkQg8KDV9sYXN0X3NlZW5fYXQiZgoVRGlzdGluY3RJZFdpdGhWZXJzaW9uEhMKC2Rpc3RpbmN0X2lkGAEgASgJEhQKB3ZlcnNpb24YAiABKANIAIgBARIPCgJpZBgDIAEoA0gBiAEBQgoKCF92ZXJzaW9uQgUKA19pZCJoChVQZXJzb25XaXRoRGlzdGluY3RJZHMSEwoLZGlzdGluY3RfaWQYASABKAkSLwoGcGVyc29uGAIgASgLMhoucGVyc29uaG9nLnR5cGVzLnYxLlBlcnNvbkgAiAEBQgkKB19wZXJzb24iZwoRUGVyc29uRGlzdGluY3RJZHMSEQoJcGVyc29uX2lkGAEgASgDEj8KDGRpc3RpbmN0X2lkcxgCIAMoCzIpLnBlcnNvbmhvZy50eXBlcy52MS5EaXN0aW5jdElkV2l0aFZlcnNpb24ihwEKGFBlcnNvbldpdGhUZWFtRGlzdGluY3RJZBIvCgNrZXkYASABKAsy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jZRgFIAEoDBINCgVvcF9pZBgGIAEoCSJIChpGb2xkUGVyc29uRG9jdW1lbnRSZXNwb25zZRIqCgZwZXJzb24YASABKAsyGi5wZXJzb25ob2cudHlwZXMudjEuUGVyc29uKnkKEURlbGV0ZVBlcnNvbnNNb2RlEiMKH0RFTEVURV9QRVJTT05TX01PREVfVU5TUEVDSUZJRUQQABIcChhERUxFVEVfUEVSU09OU19NT0RFX0hBUkQQARIhCh1ERUxFVEVfUEVSU09OU19NT0RFX1RPTUJTVE9ORRACKm8KD0xpZmVjeWNsZU9wVHlwZRIhCh1MSUZFQ1lDTEVfT1BfVFlQRV9VTlNQRUNJRklFRBAAEhwKGExJRkVDWUNMRV9PUF9UWVBFX0RFTEVURRABEhsKF0xJRkVDWUNMRV9PUF9UWVBFX01FUkdFEAIqbQoOUmVsZWFzZU91dGNvbWUSHwobUkVMRUFTRV9PVVRDT01FX1VOU1BFQ0lGSUVEEAASHQoZUkVMRUFTRV9PVVRDT01FX0NPTU1JVFRFRBABEhsKF1JFTEVBU0VfT1VUQ09NRV9BQk9SVEVEEAJiBnByb3RvMw',
[file_personhog_types_v1_common]
)
@@ -849,6 +849,195 @@ export const DeletePersonsResponseSchema: GenMessage<DeletePersonsResponse> =
/*@__PURE__*/
messageDesc(file_personhog_types_v1_person, 25)
+/**
+ * @generated from message personhog.types.v1.GetPersonTombstonesRequest
+ */
+export type GetPersonTombstonesRequest = Message<'personhog.types.v1.GetPersonTombstonesRequest'> & {
+ /**
+ * @generated from field: int64 team_id = 1;
+ */
+ teamId: bigint
+
+ /**
+ * @generated from field: repeated string person_uuids = 2;
+ */
+ personUuids: string[]
+}
+
+/**
+ * Describes the message personhog.types.v1.GetPersonTombstonesRequest.
+ * Use `create(GetPersonTombstonesRequestSchema)` to create a new message.
+ */
+export const GetPersonTombstonesRequestSchema: GenMessage<GetPersonTombstonesRequest> =
+ /*@__PURE__*/
+ messageDesc(file_personhog_types_v1_person, 26)
+
+/**
+ * @generated from message personhog.types.v1.GetPersonTombstonesResponse
+ */
+export type GetPersonTombstonesResponse = Message<'personhog.types.v1.GetPersonTombstonesResponse'> & {
+ /**
+ * @generated from field: repeated personhog.types.v1.TombstonedPerson tombstones = 1;
+ */
+ tombstones: TombstonedPerson[]
+}
+
+/**
+ * Describes the message personhog.types.v1.GetPersonTombstonesResponse.
+ * Use `create(GetPersonTombstonesResponseSchema)` to create a new message.
+ */
+export const GetPersonTombstonesResponseSchema: GenMessage<GetPersonTombstonesResponse> =
+ /*@__PURE__*/
+ messageDesc(file_personhog_types_v1_person, 27)
+
+/**
+ * @generated from message personhog.types.v1.AckedPersonTombstone
+ */
+export type AckedPersonTombstone = Message<'personhog.types.v1.AckedPersonTombstone'> & {
+ /**
+ * @generated from field: string person_uuid = 1;
+ */
+ personUuid: string
+
+ /**
+ * @generated from field: int64 version = 2;
+ */
+ version: bigint
+}
+
+/**
+ * Describes the message personhog.types.v1.AckedPersonTombstone.
+ * Use `create(AckedPersonTombstoneSchema)` to create a new message.
+ */
+export const AckedPersonTombstoneSchema: GenMessage<AckedPersonTombstone> =
+ /*@__PURE__*/
+ messageDesc(file_personhog_types_v1_person, 28)
+
+/**
+ * @generated from message personhog.types.v1.AckPersonTombstonesRequest
+ */
+export type AckPersonTombstonesRequest = Message<'personhog.types.v1.AckPersonTombstonesRequest'> & {
+ /**
+ * @generated from field: int64 team_id = 1;
+ */
+ teamId: bigint
+
+ /**
+ * @generated from field: repeated personhog.types.v1.AckedPersonTombstone tombstones = 2;
+ */
+ tombstones: AckedPersonTombstone[]
+}
+
+/**
+ * Describes the message personhog.types.v1.AckPersonTombstonesRequest.
+ * Use `create(AckPersonTombstonesRequestSchema)` to create a new message.
+ */
+export const AckPersonTombstonesRequestSchema: GenMessage<AckPersonTombstonesRequest> =
+ /*@__PURE__*/
+ messageDesc(file_personhog_types_v1_person, 29)
+
+/**
+ * @generated from message personhog.types.v1.AckPersonTombstonesResponse
+ */
+export type AckPersonTombstonesResponse = Message<'personhog.types.v1.AckPersonTombstonesResponse'> & {
+ /**
+ * @generated from field: int64 cleared_count = 1;
+ */
+ clearedCount: bigint
+}
+
+/**
+ * Describes the message personhog.types.v1.AckPersonTombstonesResponse.
+ * Use `create(AckPersonTombstonesResponseSchema)` to create a new message.
+ */
+export const AckPersonTombstonesResponseSchema: GenMessage<AckPersonTombstonesResponse> =
+ /*@__PURE__*/
+ messageDesc(file_personhog_types_v1_person, 30)
+
+/**
+ * @generated from message personhog.types.v1.ListPersonTombstoneQueueRequest
+ */
+export type ListPersonTombstoneQueueRequest = Message<'personhog.types.v1.ListPersonTombstoneQueueRequest'> & {
+ /**
+ * @generated from field: int64 after_team_id = 1;
+ */
+ afterTeamId: bigint
+
+ /**
+ * @generated from field: string after_person_uuid = 2;
+ */
+ afterPersonUuid: string
+
+ /**
+ * @generated from field: int64 limit = 3;
+ */
+ limit: bigint
+
+ /**
+ * @generated from field: optional int64 team_id = 4;
+ */
+ teamId?: bigint
+}
+
+/**
+ * Describes the message personhog.types.v1.ListPersonTombstoneQueueRequest.
+ * Use `create(ListPersonTombstoneQueueRequestSchema)` to create a new message.
+ */
+export const ListPersonTombstoneQueueRequestSchema: GenMessage<ListPersonTombstoneQueueRequest> =
+ /*@__PURE__*/
+ messageDesc(file_personhog_types_v1_person, 31)
+
+/**
+ * @generated from message personhog.types.v1.PersonTombstoneQueueEntry
+ */
+export type PersonTombstoneQueueEntry = Message<'personhog.types.v1.PersonTombstoneQueueEntry'> & {
+ /**
+ * @generated from field: int64 team_id = 1;
+ */
+ teamId: bigint
+
+ /**
+ * @generated from field: string person_uuid = 2;
+ */
+ personUuid: string
+
+ /**
+ * @generated from field: int64 person_version = 3;
+ */
+ personVersion: bigint
+
+ /**
+ * @generated from field: int64 tombstoned_at = 4;
+ */
+ tombstonedAt: bigint
+}
+
+/**
+ * Describes the message personhog.types.v1.PersonTombstoneQueueEntry.
+ * Use `create(PersonTombstoneQueueEntrySchema)` to create a new message.
+ */
+export const PersonTombstoneQueueEntrySchema: GenMessage<PersonTombstoneQueueEntry> =
+ /*@__PURE__*/
+ messageDesc(file_personhog_types_v1_person, 32)
+
+/**
+ * @generated from message personhog.types.v1.ListPersonTombstoneQueueResponse
+ */
+export type ListPersonTombstoneQueueResponse = Message<'personhog.types.v1.ListPersonTombstoneQueueResponse'> & {
+ /**
+ * @generated from field: repeated personhog.types.v1.PersonTombstoneQueueEntry entries = 1;
+ */
+ entries: PersonTombstoneQueueEntry[]
+}
+
+/**
+ * Describes the message personhog.types.v1.ListPersonTombstoneQueueResponse.
+ * Use `create(ListPersonTombstoneQueueResponseSchema)` to create a new message.
+ */
+export const ListPersonTombstoneQueueResponseSchema: GenMessage<ListPersonTombstoneQueueResponse> =
+ /*@__PURE__*/
+ messageDesc(file_personhog_types_v1_person, 33)
+
/**
* DeletePersonsBatchForTeamRequest deletes up to batch_size persons for a team.
* Also deletes associated posthog_persondistinctid rows (FK is NO ACTION).
@@ -877,7 +1066,7 @@ export type DeletePersonsBatchForTeamRequest = Message<'personhog.types.v1.Delet
*/
export const DeletePersonsBatchForTeamRequestSchema: GenMessage<DeletePersonsBatchForTeamRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 26)
+ messageDesc(file_personhog_types_v1_person, 34)
/**
* @generated from message personhog.types.v1.DeletePersonsBatchForTeamResponse
@@ -897,7 +1086,7 @@ export type DeletePersonsBatchForTeamResponse = Message<'personhog.types.v1.Dele
*/
export const DeletePersonsBatchForTeamResponseSchema: GenMessage<DeletePersonsBatchForTeamResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 27)
+ messageDesc(file_personhog_types_v1_person, 35)
/**
* DeleteTombstonedPersonsRequest deletes persons only while they are still
@@ -939,7 +1128,7 @@ export type DeleteTombstonedPersonsRequest = Message<'personhog.types.v1.DeleteT
*/
export const DeleteTombstonedPersonsRequestSchema: GenMessage<DeleteTombstonedPersonsRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 28)
+ messageDesc(file_personhog_types_v1_person, 36)
/**
* @generated from message personhog.types.v1.DeleteTombstonedPersonsResponse
@@ -990,7 +1179,7 @@ export type DeleteTombstonedPersonsResponse = Message<'personhog.types.v1.Delete
*/
export const DeleteTombstonedPersonsResponseSchema: GenMessage<DeleteTombstonedPersonsResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 29)
+ messageDesc(file_personhog_types_v1_person, 37)
/**
* SplitPersonRequest splits specific distinct_ids off of a person onto new persons.
@@ -1028,7 +1217,7 @@ export type SplitPersonRequest = Message<'personhog.types.v1.SplitPersonRequest'
*/
export const SplitPersonRequestSchema: GenMessage<SplitPersonRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 30)
+ messageDesc(file_personhog_types_v1_person, 38)
/**
* SplitResult describes a single distinct_id that was split onto a new person.
@@ -1070,7 +1259,7 @@ export type SplitResult = Message<'personhog.types.v1.SplitResult'> & {
* Describes the message personhog.types.v1.SplitResult.
* Use `create(SplitResultSchema)` to create a new message.
*/
-export const SplitResultSchema: GenMessage<SplitResult> = /*@__PURE__*/ messageDesc(file_personhog_types_v1_person, 31)
+export const SplitResultSchema: GenMessage<SplitResult> = /*@__PURE__*/ messageDesc(file_personhog_types_v1_person, 39)
/**
* @generated from message personhog.types.v1.SplitPersonResponse
@@ -1090,7 +1279,7 @@ export type SplitPersonResponse = Message<'personhog.types.v1.SplitPersonRespons
*/
export const SplitPersonResponseSchema: GenMessage<SplitPersonResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 32)
+ messageDesc(file_personhog_types_v1_person, 40)
/**
* SetPersonDistinctIdVersionFloorRequest bumps a person_distinct_id row's version.
@@ -1127,7 +1316,7 @@ export type SetPersonDistinctIdVersionFloorRequest =
*/
export const SetPersonDistinctIdVersionFloorRequestSchema: GenMessage<SetPersonDistinctIdVersionFloorRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 33)
+ messageDesc(file_personhog_types_v1_person, 41)
/**
* @generated from message personhog.types.v1.SetPersonDistinctIdVersionFloorResponse
@@ -1150,7 +1339,7 @@ export type SetPersonDistinctIdVersionFloorResponse =
*/
export const SetPersonDistinctIdVersionFloorResponseSchema: GenMessage<SetPersonDistinctIdVersionFloorResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 34)
+ messageDesc(file_personhog_types_v1_person, 42)
/**
* SetPersonVersionFloorRequest bumps a person's version. Used by the undelete repair
@@ -1185,7 +1374,7 @@ export type SetPersonVersionFloorRequest = Message<'personhog.types.v1.SetPerson
*/
export const SetPersonVersionFloorRequestSchema: GenMessage<SetPersonVersionFloorRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 35)
+ messageDesc(file_personhog_types_v1_person, 43)
/**
* @generated from message personhog.types.v1.SetPersonVersionFloorResponse
@@ -1205,7 +1394,7 @@ export type SetPersonVersionFloorResponse = Message<'personhog.types.v1.SetPerso
*/
export const SetPersonVersionFloorResponseSchema: GenMessage<SetPersonVersionFloorResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 36)
+ messageDesc(file_personhog_types_v1_person, 44)
/**
* FencePersonRequest freezes a person for a lifecycle operation (see
@@ -1242,7 +1431,7 @@ export type FencePersonRequest = Message<'personhog.types.v1.FencePersonRequest'
*/
export const FencePersonRequestSchema: GenMessage<FencePersonRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 37)
+ messageDesc(file_personhog_types_v1_person, 45)
/**
* @generated from message personhog.types.v1.FencePersonResponse
@@ -1271,7 +1460,7 @@ export type FencePersonResponse = Message<'personhog.types.v1.FencePersonRespons
*/
export const FencePersonResponseSchema: GenMessage<FencePersonResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 38)
+ messageDesc(file_personhog_types_v1_person, 46)
/**
* FencePersonsRequest freezes many persons of one op in one call (see
@@ -1308,7 +1497,7 @@ export type FencePersonsRequest = Message<'personhog.types.v1.FencePersonsReques
*/
export const FencePersonsRequestSchema: GenMessage<FencePersonsRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 39)
+ messageDesc(file_personhog_types_v1_person, 47)
/**
* Every requested person id lands in exactly one of the two lists; a
@@ -1342,7 +1531,7 @@ export type FencePersonsResponse = Message<'personhog.types.v1.FencePersonsRespo
*/
export const FencePersonsResponseSchema: GenMessage<FencePersonsResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 40)
+ messageDesc(file_personhog_types_v1_person, 48)
/**
* @generated from message personhog.types.v1.FencedPersonSeal
@@ -1375,7 +1564,7 @@ export type FencedPersonSeal = Message<'personhog.types.v1.FencedPersonSeal'> &
*/
export const FencedPersonSealSchema: GenMessage<FencedPersonSeal> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 41)
+ messageDesc(file_personhog_types_v1_person, 49)
/**
* ReleaseFenceRequest closes a fence (see PersonHogLeader.ReleaseFence).
@@ -1443,7 +1632,7 @@ export type ReleaseFenceRequest = Message<'personhog.types.v1.ReleaseFenceReques
*/
export const ReleaseFenceRequestSchema: GenMessage<ReleaseFenceRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 42)
+ messageDesc(file_personhog_types_v1_person, 50)
/**
* @generated from message personhog.types.v1.ReleaseFenceResponse
@@ -1456,7 +1645,7 @@ export type ReleaseFenceResponse = Message<'personhog.types.v1.ReleaseFenceRespo
*/
export const ReleaseFenceResponseSchema: GenMessage<ReleaseFenceResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 43)
+ messageDesc(file_personhog_types_v1_person, 51)
/**
* ReleaseFencesRequest closes many fences of one op in one call (see
@@ -1493,7 +1682,7 @@ export type ReleaseFencesRequest = Message<'personhog.types.v1.ReleaseFencesRequ
*/
export const ReleaseFencesRequestSchema: GenMessage<ReleaseFencesRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 44)
+ messageDesc(file_personhog_types_v1_person, 52)
/**
* @generated from message personhog.types.v1.ReleaseFenceItem
@@ -1530,7 +1719,7 @@ export type ReleaseFenceItem = Message<'personhog.types.v1.ReleaseFenceItem'> &
*/
export const ReleaseFenceItemSchema: GenMessage<ReleaseFenceItem> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 45)
+ messageDesc(file_personhog_types_v1_person, 53)
/**
* @generated from message personhog.types.v1.ReleaseFencesResponse
@@ -1543,7 +1732,7 @@ export type ReleaseFencesResponse = Message<'personhog.types.v1.ReleaseFencesRes
*/
export const ReleaseFencesResponseSchema: GenMessage<ReleaseFencesResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 46)
+ messageDesc(file_personhog_types_v1_person, 54)
/**
* A sealed source snapshot paired with its precedence ordinal — the
@@ -1571,7 +1760,7 @@ export type SealedSourceSnapshot = Message<'personhog.types.v1.SealedSourceSnaps
*/
export const SealedSourceSnapshotSchema: GenMessage<SealedSourceSnapshot> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 47)
+ messageDesc(file_personhog_types_v1_person, 55)
/**
* FoldPersonDocumentRequest folds sealed source snapshots into the merge
@@ -1647,7 +1836,7 @@ export type FoldPersonDocumentRequest = Message<'personhog.types.v1.FoldPersonDo
*/
export const FoldPersonDocumentRequestSchema: GenMessage<FoldPersonDocumentRequest> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 48)
+ messageDesc(file_personhog_types_v1_person, 56)
/**
* @generated from message personhog.types.v1.FoldPersonDocumentResponse
@@ -1675,7 +1864,7 @@ export type FoldPersonDocumentResponse = Message<'personhog.types.v1.FoldPersonD
*/
export const FoldPersonDocumentResponseSchema: GenMessage<FoldPersonDocumentResponse> =
/*@__PURE__*/
- messageDesc(file_personhog_types_v1_person, 49)
+ messageDesc(file_personhog_types_v1_person, 57)
/**
* How DeletePersons removes the rows.
diff --git a/nodejs/src/common/personhog/client.test.ts b/nodejs/src/common/personhog/client.test.ts
index 77fdc7d6fd02..bb9c3ab186bd 100644
--- a/nodejs/src/common/personhog/client.test.ts
+++ b/nodejs/src/common/personhog/client.test.ts
@@ -140,6 +140,9 @@ const SERVICE_DEFAULTS: ServiceImpl<typeof PersonHogService> = {
pendingPersonUuids: [],
rowsDeleted: 0n,
}),
+ getPersonTombstones: () => ({ tombstones: [] }),
+ ackPersonTombstones: () => ({ clearedCount: 0n }),
+ listPersonTombstoneQueue: () => ({ entries: [] }),
splitPerson: () => ({ splits: [] }),
setPersonDistinctIdVersionFloor: () => ({}),
setPersonVersionFloor: () => ({ updated: false }),
diff --git a/nodejs/src/common/personhog/persons.test.ts b/nodejs/src/common/personhog/persons.test.ts
index c978fc16e4e4..cbf996c25be1 100644
--- a/nodejs/src/common/personhog/persons.test.ts
+++ b/nodejs/src/common/personhog/persons.test.ts
@@ -78,6 +78,9 @@ const SERVICE_DEFAULTS: ServiceImpl<typeof PersonHogService> = {
pendingPersonUuids: [],
rowsDeleted: 0n,
}),
+ getPersonTombstones: () => ({ tombstones: [] }),
+ ackPersonTombstones: () => ({ clearedCount: 0n }),
+ listPersonTombstoneQueue: () => ({ entries: [] }),
splitPerson: () => ({ splits: [] }),
setPersonDistinctIdVersionFloor: () => ({}),
setPersonVersionFloor: () => ({ updated: false }),
diff --git a/packages/personhog-proto/personhog/service/v1/service_pb2.py b/packages/personhog-proto/personhog/service/v1/service_pb2.py
index 05c993e79ae5..5e6215dbadb6 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\xdc+\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\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\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"
)
_globals = globals()
@@ -37,5 +37,5 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "personhog.service.v1.servic
if not _descriptor._USE_C_DESCRIPTORS:
DESCRIPTOR._loaded_options = None
_globals["_PERSONHOGSERVICE"]._serialized_start = 198
- _globals["_PERSONHOGSERVICE"]._serialized_end = 5794
+ _globals["_PERSONHOGSERVICE"]._serialized_end = 6170
# @@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.py
index a4685d28dd12..8e355f7b97ca 100644
--- a/packages/personhog-proto/personhog/service/v1/service_pb2_grpc.py
+++ b/packages/personhog-proto/personhog/service/v1/service_pb2_grpc.py
@@ -300,6 +300,24 @@ class PersonHogServiceStub:
response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.DeleteTombstonedPersonsResponse.FromString,
_registered_method=True,
)
+ self.GetPersonTombstones = channel.unary_unary(
+ "/personhog.service.v1.PersonHogService/GetPersonTombstones",
+ request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonTombstonesRequest.SerializeToString,
+ response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonTombstonesResponse.FromString,
+ _registered_method=True,
+ )
+ self.AckPersonTombstones = channel.unary_unary(
+ "/personhog.service.v1.PersonHogService/AckPersonTombstones",
+ request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.AckPersonTombstonesRequest.SerializeToString,
+ response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.AckPersonTombstonesResponse.FromString,
+ _registered_method=True,
+ )
+ self.ListPersonTombstoneQueue = channel.unary_unary(
+ "/personhog.service.v1.PersonHogService/ListPersonTombstoneQueue",
+ request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.ListPersonTombstoneQueueRequest.SerializeToString,
+ response_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.ListPersonTombstoneQueueResponse.FromString,
+ _registered_method=True,
+ )
self.SplitPerson = channel.unary_unary(
"/personhog.service.v1.PersonHogService/SplitPerson",
request_serializer=personhog_dot_types_dot_v1_dot_person__pb2.SplitPersonRequest.SerializeToString,
@@ -597,6 +615,24 @@ class PersonHogServiceServicer:
context.set_details("Method not implemented!")
raise NotImplementedError("Method not implemented!")
+ def GetPersonTombstones(self, request, context):
+ """Missing associated documentation comment in .proto file."""
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def AckPersonTombstones(self, request, context):
+ """Missing associated documentation comment in .proto file."""
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def ListPersonTombstoneQueue(self, request, context):
+ """Missing associated documentation comment in .proto file."""
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
def SplitPerson(self, request, context):
"""Person split
WARNING: Same routing caveat as DeletePersons above — write operation on person data
@@ -836,6 +872,21 @@ def add_PersonHogServiceServicer_to_server(servicer, server):
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.DeleteTombstonedPersonsRequest.FromString,
response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.DeleteTombstonedPersonsResponse.SerializeToString,
),
+ "GetPersonTombstones": grpc.unary_unary_rpc_method_handler(
+ servicer.GetPersonTombstones,
+ request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonTombstonesRequest.FromString,
+ response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.GetPersonTombstonesResponse.SerializeToString,
+ ),
+ "AckPersonTombstones": grpc.unary_unary_rpc_method_handler(
+ servicer.AckPersonTombstones,
+ request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.AckPersonTombstonesRequest.FromString,
+ response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.AckPersonTombstonesResponse.SerializeToString,
+ ),
+ "ListPersonTombstoneQueue": grpc.unary_unary_rpc_method_handler(
+ servicer.ListPersonTombstoneQueue,
+ request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.ListPersonTombstoneQueueRequest.FromString,
+ response_serializer=personhog_dot_types_dot_v1_dot_person__pb2.ListPersonTombstoneQueueResponse.SerializeToString,
+ ),
"SplitPerson": grpc.unary_unary_rpc_method_handler(
servicer.SplitPerson,
request_deserializer=personhog_dot_types_dot_v1_dot_person__pb2.SplitPersonRequest.FromString,
@@ -2153,6 +2204,96 @@ class PersonHogService:
_registered_method=True,
)
+ @staticmethod
+ def GetPersonTombstones(
+ 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/GetPersonTombstones",
+ personhog_dot_types_dot_v1_dot_person__pb2.GetPersonTombstonesRequest.SerializeToString,
+ personhog_dot_types_dot_v1_dot_person__pb2.GetPersonTombstonesResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ _registered_method=True,
+ )
+
+ @staticmethod
+ def AckPersonTombstones(
+ 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/AckPersonTombstones",
+ personhog_dot_types_dot_v1_dot_person__pb2.AckPersonTombstonesRequest.SerializeToString,
+ personhog_dot_types_dot_v1_dot_person__pb2.AckPersonTombstonesResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ _registered_method=True,
+ )
+
+ @staticmethod
+ def ListPersonTombstoneQueue(
+ 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/ListPersonTombstoneQueue",
+ personhog_dot_types_dot_v1_dot_person__pb2.ListPersonTombstoneQueueRequest.SerializeToString,
+ personhog_dot_types_dot_v1_dot_person__pb2.ListPersonTombstoneQueueResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ _registered_method=True,
+ )
+
@staticmethod
def SplitPerson(
request,
diff --git a/packages/personhog-proto/personhog/types/v1/person_pb2.py b/packages/personhog-proto/personhog/types/v1/person_pb2.py
index a4ef65534dfc..fbf122f535bf 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__pb2
DESCRIPTOR = _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"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\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'
)
_globals = globals()
@@ -31,12 +31,12 @@ _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 = 5966
- _globals["_DELETEPERSONSMODE"]._serialized_end = 6087
- _globals["_LIFECYCLEOPTYPE"]._serialized_start = 6089
- _globals["_LIFECYCLEOPTYPE"]._serialized_end = 6200
- _globals["_RELEASEOUTCOME"]._serialized_start = 6202
- _globals["_RELEASEOUTCOME"]._serialized_end = 6311
+ _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["_PERSON"]._serialized_start = 89
_globals["_PERSON"]._serialized_end = 395
_globals["_DISTINCTIDWITHVERSION"]._serialized_start = 397
@@ -89,52 +89,68 @@ if not _descriptor._USE_C_DESCRIPTORS:
_globals["_TOMBSTONEDPERSON"]._serialized_end = 3390
_globals["_DELETEPERSONSRESPONSE"]._serialized_start = 3392
_globals["_DELETEPERSONSRESPONSE"]._serialized_end = 3516
- _globals["_DELETEPERSONSBATCHFORTEAMREQUEST"]._serialized_start = 3518
- _globals["_DELETEPERSONSBATCHFORTEAMREQUEST"]._serialized_end = 3589
- _globals["_DELETEPERSONSBATCHFORTEAMRESPONSE"]._serialized_start = 3591
- _globals["_DELETEPERSONSBATCHFORTEAMRESPONSE"]._serialized_end = 3649
- _globals["_DELETETOMBSTONEDPERSONSREQUEST"]._serialized_start = 3651
- _globals["_DELETETOMBSTONEDPERSONSREQUEST"]._serialized_end = 3740
- _globals["_DELETETOMBSTONEDPERSONSRESPONSE"]._serialized_start = 3743
- _globals["_DELETETOMBSTONEDPERSONSRESPONSE"]._serialized_end = 3909
- _globals["_SPLITPERSONREQUEST"]._serialized_start = 3911
- _globals["_SPLITPERSONREQUEST"]._serialized_end = 3998
- _globals["_SPLITRESULT"]._serialized_start = 4001
- _globals["_SPLITRESULT"]._serialized_end = 4143
- _globals["_SPLITPERSONRESPONSE"]._serialized_start = 4145
- _globals["_SPLITPERSONRESPONSE"]._serialized_end = 4215
- _globals["_SETPERSONDISTINCTIDVERSIONFLOORREQUEST"]._serialized_start = 4217
- _globals["_SETPERSONDISTINCTIDVERSIONFLOORREQUEST"]._serialized_end = 4316
- _globals["_SETPERSONDISTINCTIDVERSIONFLOORRESPONSE"]._serialized_start = 4318
- _globals["_SETPERSONDISTINCTIDVERSIONFLOORRESPONSE"]._serialized_end = 4419
- _globals["_SETPERSONVERSIONFLOORREQUEST"]._serialized_start = 4421
- _globals["_SETPERSONVERSIONFLOORREQUEST"]._serialized_end = 4508
- _globals["_SETPERSONVERSIONFLOORRESPONSE"]._serialized_start = 4510
- _globals["_SETPERSONVERSIONFLOORRESPONSE"]._serialized_end = 4558
- _globals["_FENCEPERSONREQUEST"]._serialized_start = 4560
- _globals["_FENCEPERSONREQUEST"]._serialized_end = 4685
- _globals["_FENCEPERSONRESPONSE"]._serialized_start = 4687
- _globals["_FENCEPERSONRESPONSE"]._serialized_end = 4752
- _globals["_FENCEPERSONSREQUEST"]._serialized_start = 4754
- _globals["_FENCEPERSONSREQUEST"]._serialized_end = 4881
- _globals["_FENCEPERSONSRESPONSE"]._serialized_start = 4883
- _globals["_FENCEPERSONSRESPONSE"]._serialized_end = 4978
- _globals["_FENCEDPERSONSEAL"]._serialized_start = 4980
- _globals["_FENCEDPERSONSEAL"]._serialized_end = 5054
- _globals["_RELEASEFENCEREQUEST"]._serialized_start = 5057
- _globals["_RELEASEFENCEREQUEST"]._serialized_end = 5271
- _globals["_RELEASEFENCERESPONSE"]._serialized_start = 5273
- _globals["_RELEASEFENCERESPONSE"]._serialized_end = 5295
- _globals["_RELEASEFENCESREQUEST"]._serialized_start = 5298
- _globals["_RELEASEFENCESREQUEST"]._serialized_end = 5460
- _globals["_RELEASEFENCEITEM"]._serialized_start = 5462
- _globals["_RELEASEFENCEITEM"]._serialized_end = 5588
- _globals["_RELEASEFENCESRESPONSE"]._serialized_start = 5590
- _globals["_RELEASEFENCESRESPONSE"]._serialized_end = 5613
- _globals["_SEALEDSOURCESNAPSHOT"]._serialized_start = 5615
- _globals["_SEALEDSOURCESNAPSHOT"]._serialized_end = 5698
- _globals["_FOLDPERSONDOCUMENTREQUEST"]._serialized_start = 5701
- _globals["_FOLDPERSONDOCUMENTREQUEST"]._serialized_end = 5890
- _globals["_FOLDPERSONDOCUMENTRESPONSE"]._serialized_start = 5892
- _globals["_FOLDPERSONDOCUMENTRESPONSE"]._serialized_end = 5964
+ _globals["_GETPERSONTOMBSTONESREQUEST"]._serialized_start = 3518
+ _globals["_GETPERSONTOMBSTONESREQUEST"]._serialized_end = 3585
+ _globals["_GETPERSONTOMBSTONESRESPONSE"]._serialized_start = 3587
+ _globals["_GETPERSONTOMBSTONESRESPONSE"]._serialized_end = 3674
+ _globals["_ACKEDPERSONTOMBSTONE"]._serialized_start = 3676
+ _globals["_ACKEDPERSONTOMBSTONE"]._serialized_end = 3736
+ _globals["_ACKPERSONTOMBSTONESREQUEST"]._serialized_start = 3738
+ _globals["_ACKPERSONTOMBSTONESREQUEST"]._serialized_end = 3845
+ _globals["_ACKPERSONTOMBSTONESRESPONSE"]._serialized_start = 3847
+ _globals["_ACKPERSONTOMBSTONESRESPONSE"]._serialized_end = 3899
+ _globals["_LISTPERSONTOMBSTONEQUEUEREQUEST"]._serialized_start = 3902
+ _globals["_LISTPERSONTOMBSTONEQUEUEREQUEST"]._serialized_end = 4034
+ _globals["_PERSONTOMBSTONEQUEUEENTRY"]._serialized_start = 4036
+ _globals["_PERSONTOMBSTONEQUEUEENTRY"]._serialized_end = 4148
+ _globals["_LISTPERSONTOMBSTONEQUEUERESPONSE"]._serialized_start = 4150
+ _globals["_LISTPERSONTOMBSTONEQUEUERESPONSE"]._serialized_end = 4248
+ _globals["_DELETEPERSONSBATCHFORTEAMREQUEST"]._serialized_start = 4250
+ _globals["_DELETEPERSONSBATCHFORTEAMREQUEST"]._serialized_end = 4321
+ _globals["_DELETEPERSONSBATCHFORTEAMRESPONSE"]._serialized_start = 4323
+ _globals["_DELETEPERSONSBATCHFORTEAMRESPONSE"]._serialized_end = 4381
+ _globals["_DELETETOMBSTONEDPERSONSREQUEST"]._serialized_start = 4383
+ _globals["_DELETETOMBSTONEDPERSONSREQUEST"]._serialized_end = 4472
+ _globals["_DELETETOMBSTONEDPERSONSRESPONSE"]._serialized_start = 4475
+ _globals["_DELETETOMBSTONEDPERSONSRESPONSE"]._serialized_end = 4641
+ _globals["_SPLITPERSONREQUEST"]._serialized_start = 4643
+ _globals["_SPLITPERSONREQUEST"]._serialized_end = 4730
+ _globals["_SPLITRESULT"]._serialized_start = 4733
+ _globals["_SPLITRESULT"]._serialized_end = 4875
+ _globals["_SPLITPERSONRESPONSE"]._serialized_start = 4877
+ _globals["_SPLITPERSONRESPONSE"]._serialized_end = 4947
+ _globals["_SETPERSONDISTINCTIDVERSIONFLOORREQUEST"]._serialized_start = 4949
+ _globals["_SETPERSONDISTINCTIDVERSIONFLOORREQUEST"]._serialized_end = 5048
+ _globals["_SETPERSONDISTINCTIDVERSIONFLOORRESPONSE"]._serialized_start = 5050
+ _globals["_SETPERSONDISTINCTIDVERSIONFLOORRESPONSE"]._serialized_end = 5151
+ _globals["_SETPERSONVERSIONFLOORREQUEST"]._serialized_start = 5153
+ _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
# @@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.pyi
index 67bb9fba970a..18635d5e6ffe 100644
--- a/packages/personhog-proto/personhog/types/v1/person_pb2.pyi
+++ b/packages/personhog-proto/personhog/types/v1/person_pb2.pyi
@@ -445,6 +445,88 @@ class DeletePersonsResponse(_message.Message):
tombstones: _Optional[_Iterable[_Union[TombstonedPerson, _Mapping]]] = ...,
) -> None: ...
+class GetPersonTombstonesRequest(_message.Message):
+ __slots__ = ("team_id", "person_uuids")
+ TEAM_ID_FIELD_NUMBER: _ClassVar[int]
+ PERSON_UUIDS_FIELD_NUMBER: _ClassVar[int]
+ team_id: int
+ person_uuids: _containers.RepeatedScalarFieldContainer[str]
+ def __init__(self, team_id: _Optional[int] = ..., person_uuids: _Optional[_Iterable[str]] = ...) -> None: ...
+
+class GetPersonTombstonesResponse(_message.Message):
+ __slots__ = ("tombstones",)
+ TOMBSTONES_FIELD_NUMBER: _ClassVar[int]
+ tombstones: _containers.RepeatedCompositeFieldContainer[TombstonedPerson]
+ def __init__(self, tombstones: _Optional[_Iterable[_Union[TombstonedPerson, _Mapping]]] = ...) -> None: ...
+
+class AckedPersonTombstone(_message.Message):
+ __slots__ = ("person_uuid", "version")
+ PERSON_UUID_FIELD_NUMBER: _ClassVar[int]
+ VERSION_FIELD_NUMBER: _ClassVar[int]
+ person_uuid: str
+ version: int
+ def __init__(self, person_uuid: _Optional[str] = ..., version: _Optional[int] = ...) -> None: ...
+
+class AckPersonTombstonesRequest(_message.Message):
+ __slots__ = ("team_id", "tombstones")
+ TEAM_ID_FIELD_NUMBER: _ClassVar[int]
+ TOMBSTONES_FIELD_NUMBER: _ClassVar[int]
+ team_id: int
+ tombstones: _containers.RepeatedCompositeFieldContainer[AckedPersonTombstone]
+ def __init__(
+ self,
+ team_id: _Optional[int] = ...,
+ tombstones: _Optional[_Iterable[_Union[AckedPersonTombstone, _Mapping]]] = ...,
+ ) -> None: ...
+
+class AckPersonTombstonesResponse(_message.Message):
+ __slots__ = ("cleared_count",)
+ CLEARED_COUNT_FIELD_NUMBER: _ClassVar[int]
+ cleared_count: int
+ def __init__(self, cleared_count: _Optional[int] = ...) -> None: ...
+
+class ListPersonTombstoneQueueRequest(_message.Message):
+ __slots__ = ("after_team_id", "after_person_uuid", "limit", "team_id")
+ AFTER_TEAM_ID_FIELD_NUMBER: _ClassVar[int]
+ AFTER_PERSON_UUID_FIELD_NUMBER: _ClassVar[int]
+ LIMIT_FIELD_NUMBER: _ClassVar[int]
+ TEAM_ID_FIELD_NUMBER: _ClassVar[int]
+ after_team_id: int
+ after_person_uuid: str
+ limit: int
+ team_id: int
+ def __init__(
+ self,
+ after_team_id: _Optional[int] = ...,
+ after_person_uuid: _Optional[str] = ...,
+ limit: _Optional[int] = ...,
+ team_id: _Optional[int] = ...,
+ ) -> None: ...
+
+class PersonTombstoneQueueEntry(_message.Message):
+ __slots__ = ("team_id", "person_uuid", "person_version", "tombstoned_at")
+ TEAM_ID_FIELD_NUMBER: _ClassVar[int]
+ PERSON_UUID_FIELD_NUMBER: _ClassVar[int]
+ PERSON_VERSION_FIELD_NUMBER: _ClassVar[int]
+ TOMBSTONED_AT_FIELD_NUMBER: _ClassVar[int]
+ team_id: int
+ person_uuid: str
+ person_version: int
+ tombstoned_at: int
+ def __init__(
+ self,
+ team_id: _Optional[int] = ...,
+ person_uuid: _Optional[str] = ...,
+ person_version: _Optional[int] = ...,
+ tombstoned_at: _Optional[int] = ...,
+ ) -> None: ...
+
+class ListPersonTombstoneQueueResponse(_message.Message):
+ __slots__ = ("entries",)
+ ENTRIES_FIELD_NUMBER: _ClassVar[int]
+ entries: _containers.RepeatedCompositeFieldContainer[PersonTombstoneQueueEntry]
+ def __init__(self, entries: _Optional[_Iterable[_Union[PersonTombstoneQueueEntry, _Mapping]]] = ...) -> None: ...
+
class DeletePersonsBatchForTeamRequest(_message.Message):
__slots__ = ("team_id", "batch_size")
TEAM_ID_FIELD_NUMBER: _ClassVar[int]
diff --git a/posthog/personhog_client/client.py b/posthog/personhog_client/client.py
index af8fa194b0ed..499471e5bbdb 100644
--- a/posthog/personhog_client/client.py
+++ b/posthog/personhog_client/client.py
@@ -18,6 +18,8 @@ from posthog.personhog_client.interceptor import (
RetryInterceptor,
)
from posthog.personhog_client.proto import (
+ AckPersonTombstonesRequest,
+ AckPersonTombstonesResponse,
CheckCohortMembershipRequest,
CohortMembershipResponse,
CountCohortMembersRequest,
@@ -66,6 +68,8 @@ from posthog.personhog_client.proto import (
GetPersonsByDistinctIdsInTeamRequest,
GetPersonsByUuidsRequest,
GetPersonsRequest,
+ GetPersonTombstonesRequest,
+ GetPersonTombstonesResponse,
GroupsResponse,
GroupTypeMappingsBatchResponse,
GroupTypeMappingsResponse,
@@ -75,6 +79,8 @@ from posthog.personhog_client.proto import (
ListCohortMemberIdsResponse,
ListGroupsRequest,
ListGroupsResponse,
+ ListPersonTombstoneQueueRequest,
+ ListPersonTombstoneQueueResponse,
PersonHogServiceStub,
PersonsByDistinctIdsInTeamResponse,
PersonsResponse,
@@ -223,6 +229,21 @@ class PersonHogClient:
) -> DeleteTombstonedPersonsResponse:
return self._stub.DeleteTombstonedPersons(request, timeout=timeout or self._timeout)
+ def get_person_tombstones(
+ self, request: GetPersonTombstonesRequest, timeout: float | None = None
+ ) -> GetPersonTombstonesResponse:
+ return self._stub.GetPersonTombstones(request, timeout=timeout or self._timeout)
+
+ def ack_person_tombstones(
+ self, request: AckPersonTombstonesRequest, timeout: float | None = None
+ ) -> AckPersonTombstonesResponse:
+ return self._stub.AckPersonTombstones(request, timeout=timeout or self._timeout)
+
+ def list_person_tombstone_queue(
+ self, request: ListPersonTombstoneQueueRequest, timeout: float | None = None
+ ) -> ListPersonTombstoneQueueResponse:
+ return self._stub.ListPersonTombstoneQueue(request, timeout=timeout or self._timeout)
+
# -- Person split --
def split_person(self, request: SplitPersonRequest, timeout: float | None = None) -> SplitPersonResponse:
diff --git a/posthog/personhog_client/fake_client.py b/posthog/personhog_client/fake_client.py
index 1e80ce6ac40b..42ff3b14a024 100644
--- a/posthog/personhog_client/fake_client.py
+++ b/posthog/personhog_client/fake_client.py
@@ -70,6 +70,8 @@ class FakePersonHogClient:
self._distinct_ids: dict[tuple[int, int], list[person_pb2.DistinctIdWithVersion]] = {}
# keyed by (team_id, distinct_id): mappings tombstoned alongside their person
self._tombstoned_distinct_ids: set[tuple[int, str]] = set()
+ self.tombstone_queue: dict[tuple[int, str], int] = {}
+ self.tombstone_queued_at_ms: dict[tuple[int, str], int] = {}
# Mirrors the replica's TOMBSTONED_DELETE_MAX_ROWS clamp. The fake tracks distinct ids
# only, so the row budget counts them alone.
self.tombstoned_delete_max_rows = 5000
@@ -645,6 +647,8 @@ class FakePersonHogClient:
continue
response.deleted_count += 1
tombstoned.version = self._tombstone_person(request.team_id, person, tombstoned)
+ self.tombstone_queue[(request.team_id, str(person.uuid))] = tombstoned.version
+ self.tombstone_queued_at_ms.setdefault((request.team_id, str(person.uuid)), int(time.time() * 1000))
response.tombstones.sort(key=lambda t: t.person_uuid)
return response
@@ -664,6 +668,55 @@ class FakePersonHogClient:
tombstoned.distinct_ids.add(distinct_id=did.distinct_id, version=did.version)
return version
+ def ack_person_tombstones(
+ self, request: person_pb2.AckPersonTombstonesRequest, timeout: float | None = None
+ ) -> person_pb2.AckPersonTombstonesResponse:
+ self.calls.append(_Call("ack_person_tombstones", request))
+ cleared = 0
+ for acked in request.tombstones:
+ key = (request.team_id, acked.person_uuid)
+ if key in self.tombstone_queue and self.tombstone_queue[key] <= acked.version:
+ del self.tombstone_queue[key]
+ self.tombstone_queued_at_ms.pop(key, None)
+ cleared += 1
+ return person_pb2.AckPersonTombstonesResponse(cleared_count=cleared)
+
+ def list_person_tombstone_queue(
+ self, request: person_pb2.ListPersonTombstoneQueueRequest, timeout: float | None = None
+ ) -> person_pb2.ListPersonTombstoneQueueResponse:
+ self.calls.append(_Call("list_person_tombstone_queue", request))
+ after = (request.after_team_id, request.after_person_uuid)
+ keys = sorted(
+ key
+ for key in self.tombstone_queue
+ if key > after and (not request.HasField("team_id") or key[0] == request.team_id)
+ )
+ response = person_pb2.ListPersonTombstoneQueueResponse()
+ for team_id, person_uuid in keys[: request.limit or 1000]:
+ response.entries.add(
+ team_id=team_id,
+ person_uuid=person_uuid,
+ person_version=self.tombstone_queue[(team_id, person_uuid)],
+ tombstoned_at=self.tombstone_queued_at_ms.get((team_id, person_uuid), 0),
+ )
+ return response
+
+ def get_person_tombstones(
+ self, request: person_pb2.GetPersonTombstonesRequest, timeout: float | None = None
+ ) -> person_pb2.GetPersonTombstonesResponse:
+ self.calls.append(_Call("get_person_tombstones", request))
+ response = person_pb2.GetPersonTombstonesResponse()
+ for uuid in request.person_uuids:
+ person = self._persons_by_uuid.get((request.team_id, uuid))
+ if person is None or not person.is_deleted:
+ continue
+ tombstoned = response.tombstones.add(person_uuid=person.uuid, version=person.version)
+ for did in sorted(self._distinct_ids.get((request.team_id, person.id), []), key=lambda d: d.distinct_id):
+ if (request.team_id, did.distinct_id) in self._tombstoned_distinct_ids:
+ tombstoned.distinct_ids.add(distinct_id=did.distinct_id, version=did.version)
+ response.tombstones.sort(key=lambda t: t.person_uuid)
+ return response
+
def delete_tombstoned_persons(
self, request: person_pb2.DeleteTombstonedPersonsRequest, timeout: float | None = None
) -> person_pb2.DeleteTombstonedPersonsResponse:
diff --git a/posthog/personhog_client/proto/__init__.py b/posthog/personhog_client/proto/__init__.py
index 902767b31fd8..eb7989b6cac8 100644
--- a/posthog/personhog_client/proto/__init__.py
+++ b/posthog/personhog_client/proto/__init__.py
@@ -82,6 +82,14 @@ from personhog.types.v1.person_pb2 import (
GetPersonByDistinctIdRequest,
GetPersonByUuidRequest,
GetPersonRequest,
+ GetPersonTombstonesRequest,
+ GetPersonTombstonesResponse,
+ AckedPersonTombstone,
+ AckPersonTombstonesRequest,
+ AckPersonTombstonesResponse,
+ ListPersonTombstoneQueueRequest,
+ ListPersonTombstoneQueueResponse,
+ PersonTombstoneQueueEntry,
GetPersonResponse,
GetPersonsByDistinctIdsInTeamRequest,
GetPersonsByUuidsRequest,
diff --git a/proto/personhog/replica/v1/replica.proto b/proto/personhog/replica/v1/replica.proto
index 515959e2fa32..911c6ae282a7 100644
--- a/proto/personhog/replica/v1/replica.proto
+++ b/proto/personhog/replica/v1/replica.proto
@@ -65,6 +65,9 @@ service PersonHogReplica {
rpc DeletePersons(personhog.types.v1.DeletePersonsRequest) returns (personhog.types.v1.DeletePersonsResponse);
rpc DeletePersonsBatchForTeam(personhog.types.v1.DeletePersonsBatchForTeamRequest) returns (personhog.types.v1.DeletePersonsBatchForTeamResponse);
rpc DeleteTombstonedPersons(personhog.types.v1.DeleteTombstonedPersonsRequest) returns (personhog.types.v1.DeleteTombstonedPersonsResponse);
+ rpc GetPersonTombstones(personhog.types.v1.GetPersonTombstonesRequest) returns (personhog.types.v1.GetPersonTombstonesResponse);
+ rpc AckPersonTombstones(personhog.types.v1.AckPersonTombstonesRequest) returns (personhog.types.v1.AckPersonTombstonesResponse);
+ rpc ListPersonTombstoneQueue(personhog.types.v1.ListPersonTombstoneQueueRequest) returns (personhog.types.v1.ListPersonTombstoneQueueResponse);
// Person split (temporary: same routing caveat as deletes above)
rpc SplitPerson(personhog.types.v1.SplitPersonRequest) returns (personhog.types.v1.SplitPersonResponse);
diff --git a/proto/personhog/service/v1/service.proto b/proto/personhog/service/v1/service.proto
index 02cddc8f53ec..9793866bfef5 100644
--- a/proto/personhog/service/v1/service.proto
+++ b/proto/personhog/service/v1/service.proto
@@ -88,6 +88,9 @@ service PersonHogService {
// number of rows per call; pending uuids are sent again by the caller.
// WARNING: Same routing caveat as DeletePersons above.
rpc DeleteTombstonedPersons(personhog.types.v1.DeleteTombstonedPersonsRequest) returns (personhog.types.v1.DeleteTombstonedPersonsResponse);
+ rpc GetPersonTombstones(personhog.types.v1.GetPersonTombstonesRequest) returns (personhog.types.v1.GetPersonTombstonesResponse);
+ rpc AckPersonTombstones(personhog.types.v1.AckPersonTombstonesRequest) returns (personhog.types.v1.AckPersonTombstonesResponse);
+ rpc ListPersonTombstoneQueue(personhog.types.v1.ListPersonTombstoneQueueRequest) returns (personhog.types.v1.ListPersonTombstoneQueueResponse);
// Person split
// WARNING: Same routing caveat as DeletePersons above — write operation on person data
diff --git a/proto/personhog/types/v1/person.proto b/proto/personhog/types/v1/person.proto
index 2334ac93ae55..9f50457c2d65 100644
--- a/proto/personhog/types/v1/person.proto
+++ b/proto/personhog/types/v1/person.proto
@@ -232,6 +232,47 @@ message DeletePersonsResponse {
repeated TombstonedPerson tombstones = 3;
}
+message GetPersonTombstonesRequest {
+ int64 team_id = 1;
+ repeated string person_uuids = 2;
+}
+
+message GetPersonTombstonesResponse {
+ repeated TombstonedPerson tombstones = 1;
+}
+
+message AckedPersonTombstone {
+ string person_uuid = 1;
+ int64 version = 2;
+}
+
+message AckPersonTombstonesRequest {
+ int64 team_id = 1;
+ repeated AckedPersonTombstone tombstones = 2;
+}
+
+message AckPersonTombstonesResponse {
+ int64 cleared_count = 1;
+}
+
+message ListPersonTombstoneQueueRequest {
+ int64 after_team_id = 1;
+ string after_person_uuid = 2;
+ int64 limit = 3;
+ optional int64 team_id = 4;
+}
+
+message PersonTombstoneQueueEntry {
+ int64 team_id = 1;
+ string person_uuid = 2;
+ int64 person_version = 3;
+ int64 tombstoned_at = 4;
+}
+
+message ListPersonTombstoneQueueResponse {
+ repeated PersonTombstoneQueueEntry entries = 1;
+}
+
// DeletePersonsBatchForTeamRequest deletes up to batch_size persons for a team.
// Also deletes associated posthog_persondistinctid rows (FK is NO ACTION).
// posthog_featureflaghashkeyoverride rows cascade automatically at the DB level.
diff --git a/rust/personhog-replica/.sqlx/query-3db5cda892ee10171cf9eff4375d66182e89f3b8e5df7bd6f5b971416fdb9985.json b/rust/personhog-replica/.sqlx/query-3db5cda892ee10171cf9eff4375d66182e89f3b8e5df7bd6f5b971416fdb9985.json
new file mode 100644
index 000000000000..d402a7127d84
--- /dev/null
+++ b/rust/personhog-replica/.sqlx/query-3db5cda892ee10171cf9eff4375d66182e89f3b8e5df7bd6f5b971416fdb9985.json
@@ -0,0 +1,16 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "\n DELETE FROM person_tombstone_publish_queue q\n USING UNNEST($2::uuid[], $3::bigint[]) AS a(person_uuid, person_version)\n WHERE q.team_id = $1\n AND q.person_uuid = a.person_uuid\n AND q.person_version <= a.person_version\n ",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Int4",
+ "UuidArray",
+ "Int8Array"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "3db5cda892ee10171cf9eff4375d66182e89f3b8e5df7bd6f5b971416fdb9985"
+}
diff --git a/rust/personhog-replica/.sqlx/query-4538a51bf7c5592d0bfb2ea3f9fb23a508cb36df2ad14e331ba67f4fc09010cb.json b/rust/personhog-replica/.sqlx/query-4538a51bf7c5592d0bfb2ea3f9fb23a508cb36df2ad14e331ba67f4fc09010cb.json
new file mode 100644
index 000000000000..cf9a36adafd4
--- /dev/null
+++ b/rust/personhog-replica/.sqlx/query-4538a51bf7c5592d0bfb2ea3f9fb23a508cb36df2ad14e331ba67f4fc09010cb.json
@@ -0,0 +1,16 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "\n INSERT INTO person_tombstone_publish_queue (team_id, person_uuid, person_version)\n SELECT $1, t.person_uuid, t.person_version\n FROM UNNEST($2::uuid[], $3::bigint[]) AS t(person_uuid, person_version)\n ON CONFLICT (team_id, person_uuid) DO UPDATE\n SET person_version = EXCLUDED.person_version,\n tombstoned_at = now(),\n attempts = 0,\n last_attempt_at = NULL,\n last_error = NULL,\n given_up_at = NULL\n WHERE EXCLUDED.person_version > person_tombstone_publish_queue.person_version\n ",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Int4",
+ "UuidArray",
+ "Int8Array"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "4538a51bf7c5592d0bfb2ea3f9fb23a508cb36df2ad14e331ba67f4fc09010cb"
+}
diff --git a/rust/personhog-replica/.sqlx/query-498b3879eaa19c45793d47504dd26aedba71874b1192b4868f5225a778a43a33.json b/rust/personhog-replica/.sqlx/query-498b3879eaa19c45793d47504dd26aedba71874b1192b4868f5225a778a43a33.json
new file mode 100644
index 000000000000..45fa75db0d47
--- /dev/null
+++ b/rust/personhog-replica/.sqlx/query-498b3879eaa19c45793d47504dd26aedba71874b1192b4868f5225a778a43a33.json
@@ -0,0 +1,43 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "\n SELECT team_id::bigint as \"team_id!\", person_uuid as \"person_uuid!\",\n person_version as \"person_version!\",\n (EXTRACT(EPOCH FROM tombstoned_at) * 1000)::bigint as \"tombstoned_at_ms!\"\n FROM person_tombstone_publish_queue\n WHERE (team_id, person_uuid) > ($1::int, $2::uuid)\n AND ($3::int IS NULL OR team_id = $3)\n ORDER BY team_id, person_uuid\n LIMIT $4\n ",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "team_id!",
+ "type_info": "Int8"
+ },
+ {
+ "ordinal": 1,
+ "name": "person_uuid!",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 2,
+ "name": "person_version!",
+ "type_info": "Int8"
+ },
+ {
+ "ordinal": 3,
+ "name": "tombstoned_at_ms!",
+ "type_info": "Int8"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Int4",
+ "Uuid",
+ "Int4",
+ "Int8"
+ ]
+ },
+ "nullable": [
+ null,
+ false,
+ false,
+ null
+ ]
+ },
+ "hash": "498b3879eaa19c45793d47504dd26aedba71874b1192b4868f5225a778a43a33"
+}
diff --git a/rust/personhog-replica/.sqlx/query-545a7af7c86596144dc851c0cf8454a62d9150a5e57dd04e547523f15729031f.json b/rust/personhog-replica/.sqlx/query-545a7af7c86596144dc851c0cf8454a62d9150a5e57dd04e547523f15729031f.json
new file mode 100644
index 000000000000..2dc74273c2ba
--- /dev/null
+++ b/rust/personhog-replica/.sqlx/query-545a7af7c86596144dc851c0cf8454a62d9150a5e57dd04e547523f15729031f.json
@@ -0,0 +1,35 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "\n SELECT id::bigint as \"id!\", uuid as \"uuid!\",\n COALESCE(version, 0)::bigint as \"version!\"\n FROM posthog_person\n WHERE team_id = $1 AND uuid = ANY($2) AND is_deleted = true\n ",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "id!",
+ "type_info": "Int8"
+ },
+ {
+ "ordinal": 1,
+ "name": "uuid!",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 2,
+ "name": "version!",
+ "type_info": "Int8"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Int4",
+ "UuidArray"
+ ]
+ },
+ "nullable": [
+ false,
+ false,
+ null
+ ]
+ },
+ "hash": "545a7af7c86596144dc851c0cf8454a62d9150a5e57dd04e547523f15729031f"
+}
diff --git a/rust/personhog-replica/.sqlx/query-7417f1df1f3886a431c7d82342311a273edeee115e4a40f7c41bc560e415d19b.json b/rust/personhog-replica/.sqlx/query-7417f1df1f3886a431c7d82342311a273edeee115e4a40f7c41bc560e415d19b.json
new file mode 100644
index 000000000000..b564f8b52fd9
--- /dev/null
+++ b/rust/personhog-replica/.sqlx/query-7417f1df1f3886a431c7d82342311a273edeee115e4a40f7c41bc560e415d19b.json
@@ -0,0 +1,14 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "DELETE FROM person_tombstone_publish_queue WHERE team_id = $1",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Int4"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "7417f1df1f3886a431c7d82342311a273edeee115e4a40f7c41bc560e415d19b"
+}
diff --git a/rust/personhog-replica/.sqlx/query-05c7c839951d1e77dcd01fd82f17d4721445c04f5f17951fdfab52f49ff10521.json b/rust/personhog-replica/.sqlx/query-d6654a4a69fa6a599dd1d5e63fe31d1a1d1275f923445e6f7eaface298092f12.json
similarity index 58%
rename from rust/personhog-replica/.sqlx/query-05c7c839951d1e77dcd01fd82f17d4721445c04f5f17951fdfab52f49ff10521.json
rename to rust/personhog-replica/.sqlx/query-d6654a4a69fa6a599dd1d5e63fe31d1a1d1275f923445e6f7eaface298092f12.json
index dd136e331176..e0f968742551 100644
--- a/rust/personhog-replica/.sqlx/query-05c7c839951d1e77dcd01fd82f17d4721445c04f5f17951fdfab52f49ff10521.json
+++ b/rust/personhog-replica/.sqlx/query-d6654a4a69fa6a599dd1d5e63fe31d1a1d1275f923445e6f7eaface298092f12.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n SELECT person_id as \"person_id!\", distinct_id as \"distinct_id!\",\n COALESCE(version, 0)::bigint as \"version!\"\n FROM posthog_persondistinctid\n WHERE team_id = $1 AND person_id = ANY($2) AND is_deleted = true\n ",
+ "query": "\n SELECT person_id as \"person_id!\", distinct_id as \"distinct_id!\",\n COALESCE(version, 0)::bigint as \"version!\"\n FROM posthog_persondistinctid\n WHERE team_id = $1 AND person_id = ANY($2) AND is_deleted = true\n ",
"describe": {
"columns": [
{
@@ -31,5 +31,5 @@
null
]
},
- "hash": "05c7c839951d1e77dcd01fd82f17d4721445c04f5f17951fdfab52f49ff10521"
+ "hash": "d6654a4a69fa6a599dd1d5e63fe31d1a1d1275f923445e6f7eaface298092f12"
}
diff --git a/rust/personhog-replica/src/service/mod.rs b/rust/personhog-replica/src/service/mod.rs
index c08acabb0961..acfe40dc3940 100644
--- a/rust/personhog-replica/src/service/mod.rs
+++ b/rust/personhog-replica/src/service/mod.rs
@@ -11,38 +11,40 @@ use std::sync::Arc;
use personhog_proto::personhog::replica::v1::person_hog_replica_server::PersonHogReplica;
use personhog_proto::personhog::types::v1::{
- CheckCohortMembershipRequest, CohortMembership, CohortMembershipResponse,
- CountCohortMembersRequest, CountCohortMembersResponse, CountGroupTypeMappingsRequest,
- CountGroupTypeMappingsResponse, CreateGroupRequest, CreateGroupResponse,
- DeleteCohortMemberRequest, DeleteCohortMemberResponse, DeleteCohortMembersBulkRequest,
- DeleteCohortMembersBulkResponse, DeleteGroupTypeMappingRequest, DeleteGroupTypeMappingResponse,
- DeleteGroupTypeMappingsBatchForTeamRequest, DeleteGroupTypeMappingsBatchForTeamResponse,
- DeleteGroupsBatchForTeamRequest, DeleteGroupsBatchForTeamResponse,
- DeleteHashKeyOverridesByTeamsRequest, DeleteHashKeyOverridesByTeamsResponse,
- DeletePersonsBatchForTeamRequest, DeletePersonsBatchForTeamResponse,
- DeletePersonsMode as ProtoDeletePersonsMode, DeletePersonsRequest, DeletePersonsResponse,
- DeleteTombstonedPersonsRequest, DeleteTombstonedPersonsResponse, DistinctIdWithVersion,
- GetDistinctIdsForPersonRequest, GetDistinctIdsForPersonResponse,
- GetDistinctIdsForPersonsRequest, GetDistinctIdsForPersonsResponse, GetGroupRequest,
- GetGroupResponse, GetGroupTypeMappingByDashboardIdRequest,
- GetGroupTypeMappingByDashboardIdResponse, GetGroupTypeMappingsByProjectIdRequest,
- GetGroupTypeMappingsByProjectIdsRequest, GetGroupTypeMappingsByTeamIdRequest,
- GetGroupTypeMappingsByTeamIdsRequest, GetGroupsBatchRequest, GetGroupsBatchResponse,
- GetGroupsRequest, GetHashKeyOverrideContextRequest, GetHashKeyOverrideContextResponse,
+ AckPersonTombstonesRequest, AckPersonTombstonesResponse, CheckCohortMembershipRequest,
+ CohortMembership, CohortMembershipResponse, CountCohortMembersRequest,
+ CountCohortMembersResponse, CountGroupTypeMappingsRequest, CountGroupTypeMappingsResponse,
+ CreateGroupRequest, CreateGroupResponse, DeleteCohortMemberRequest, DeleteCohortMemberResponse,
+ DeleteCohortMembersBulkRequest, DeleteCohortMembersBulkResponse, DeleteGroupTypeMappingRequest,
+ DeleteGroupTypeMappingResponse, DeleteGroupTypeMappingsBatchForTeamRequest,
+ DeleteGroupTypeMappingsBatchForTeamResponse, DeleteGroupsBatchForTeamRequest,
+ DeleteGroupsBatchForTeamResponse, DeleteHashKeyOverridesByTeamsRequest,
+ DeleteHashKeyOverridesByTeamsResponse, DeletePersonsBatchForTeamRequest,
+ DeletePersonsBatchForTeamResponse, DeletePersonsMode as ProtoDeletePersonsMode,
+ DeletePersonsRequest, DeletePersonsResponse, DeleteTombstonedPersonsRequest,
+ DeleteTombstonedPersonsResponse, DistinctIdWithVersion, GetDistinctIdsForPersonRequest,
+ GetDistinctIdsForPersonResponse, GetDistinctIdsForPersonsRequest,
+ GetDistinctIdsForPersonsResponse, GetGroupRequest, GetGroupResponse,
+ GetGroupTypeMappingByDashboardIdRequest, GetGroupTypeMappingByDashboardIdResponse,
+ GetGroupTypeMappingsByProjectIdRequest, GetGroupTypeMappingsByProjectIdsRequest,
+ GetGroupTypeMappingsByTeamIdRequest, GetGroupTypeMappingsByTeamIdsRequest,
+ GetGroupsBatchRequest, GetGroupsBatchResponse, GetGroupsRequest,
+ GetHashKeyOverrideContextRequest, GetHashKeyOverrideContextResponse,
GetPersonByDistinctIdRequest, GetPersonByUuidRequest, GetPersonRequest, GetPersonResponse,
- GetPersonsByDistinctIdsInTeamRequest, GetPersonsByDistinctIdsRequest, GetPersonsByUuidsRequest,
- GetPersonsRequest, GroupKey, GroupTypeMapping, GroupTypeMappingCount,
- GroupTypeMappingsBatchResponse, GroupTypeMappingsByKey, GroupTypeMappingsResponse,
- GroupWithKey, GroupsResponse, HashKeyOverride,
- HashKeyOverrideContext as ProtoHashKeyOverrideContext, InsertCohortMembersRequest,
- InsertCohortMembersResponse, ListCohortMemberIdsRequest, ListCohortMemberIdsResponse,
- ListGroupsRequest, ListGroupsResponse, PersonDistinctIds, PersonWithDistinctIds,
- PersonWithTeamDistinctId, PersonsByDistinctIdsInTeamResponse, PersonsByDistinctIdsResponse,
- PersonsResponse, SetPersonDistinctIdVersionFloorRequest,
- SetPersonDistinctIdVersionFloorResponse, SetPersonVersionFloorRequest,
- SetPersonVersionFloorResponse, SplitPersonRequest, SplitPersonResponse,
- SplitResult as ProtoSplitResult, TeamDistinctId, TombstonedDistinctId, TombstonedPerson,
- UpdateGroupRequest, UpdateGroupResponse, UpdateGroupTypeMappingRequest,
+ GetPersonTombstonesRequest, GetPersonTombstonesResponse, GetPersonsByDistinctIdsInTeamRequest,
+ GetPersonsByDistinctIdsRequest, GetPersonsByUuidsRequest, GetPersonsRequest, GroupKey,
+ GroupTypeMapping, GroupTypeMappingCount, GroupTypeMappingsBatchResponse,
+ GroupTypeMappingsByKey, GroupTypeMappingsResponse, GroupWithKey, GroupsResponse,
+ HashKeyOverride, HashKeyOverrideContext as ProtoHashKeyOverrideContext,
+ 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,
UpdateGroupTypeMappingResponse, UpsertHashKeyOverridesRequest, UpsertHashKeyOverridesResponse,
};
use tonic::{Request, Response, Status};
@@ -442,18 +444,7 @@ impl PersonHogReplica for PersonHogReplicaService {
.tombstones
.unwrap_or_default()
.into_iter()
- .map(|person| TombstonedPerson {
- person_uuid: person.uuid.to_string(),
- version: person.version,
- distinct_ids: person
- .distinct_ids
- .into_iter()
- .map(|did| TombstonedDistinctId {
- distinct_id: did.distinct_id,
- version: did.version,
- })
- .collect(),
- })
+ .map(tombstone_to_proto)
.collect();
Ok(Response::new(DeletePersonsResponse {
@@ -486,6 +477,101 @@ impl PersonHogReplica for PersonHogReplicaService {
}))
}
+ async fn get_person_tombstones(
+ &self,
+ request: Request<GetPersonTombstonesRequest>,
+ ) -> Result<Response<GetPersonTombstonesResponse>, Status> {
+ let req = request.into_inner();
+
+ if req.person_uuids.len() > 1000 {
+ return Err(Status::invalid_argument(
+ "Maximum 1000 person UUIDs per request",
+ ));
+ }
+
+ let uuids: Vec<Uuid> = req
+ .person_uuids
+ .iter()
+ .map(|s| Uuid::parse_str(s))
+ .collect::<Result<Vec<_>, _>>()
+ .map_err(|e| Status::invalid_argument(format!("Invalid UUID: {e}")))?;
+
+ let tombstones = self
+ .storage
+ .get_person_tombstones(req.team_id, &uuids)
+ .await
+ .map_err(|e| log_and_convert_error(e, "get_person_tombstones"))?;
+
+ Ok(Response::new(GetPersonTombstonesResponse {
+ tombstones: tombstones.into_iter().map(tombstone_to_proto).collect(),
+ }))
+ }
+
+ async fn ack_person_tombstones(
+ &self,
+ request: Request<AckPersonTombstonesRequest>,
+ ) -> Result<Response<AckPersonTombstonesResponse>, Status> {
+ let req = request.into_inner();
+
+ if req.tombstones.len() > 1000 {
+ return Err(Status::invalid_argument(
+ "Maximum 1000 tombstones per request",
+ ));
+ }
+
+ let acked: Vec<(Uuid, i64)> = req
+ .tombstones
+ .iter()
+ .map(|t| Uuid::parse_str(&t.person_uuid).map(|uuid| (uuid, t.version)))
+ .collect::<Result<Vec<_>, _>>()
+ .map_err(|e| Status::invalid_argument(format!("Invalid UUID: {e}")))?;
+
+ let cleared_count = self
+ .storage
+ .ack_person_tombstones(req.team_id, &acked)
+ .await
+ .map_err(|e| log_and_convert_error(e, "ack_person_tombstones"))?;
+
+ Ok(Response::new(AckPersonTombstonesResponse { cleared_count }))
+ }
+
+ async fn list_person_tombstone_queue(
+ &self,
+ request: Request<ListPersonTombstoneQueueRequest>,
+ ) -> Result<Response<ListPersonTombstoneQueueResponse>, Status> {
+ let req = request.into_inner();
+
+ let limit = match req.limit {
+ 0 => 1000,
+ 1..=1000 => req.limit,
+ _ => return Err(Status::invalid_argument("limit must be between 0 and 1000")),
+ };
+ let after_uuid = if req.after_person_uuid.is_empty() {
+ Uuid::nil()
+ } else {
+ Uuid::parse_str(&req.after_person_uuid)
+ .map_err(|e| Status::invalid_argument(format!("Invalid UUID: {e}")))?
+ };
+
+ let entries = self
+ .storage
+ .list_person_tombstone_queue((req.after_team_id, after_uuid), req.team_id, limit)
+ .await
+ .map_err(|e| log_and_convert_error(e, "list_person_tombstone_queue"))?;
+
+ Ok(Response::new(ListPersonTombstoneQueueResponse {
+ entries: entries
+ .into_iter()
+ .map(|entry| PersonTombstoneQueueEntry {
+ team_id: entry.team_id,
+ person_uuid: entry.person_uuid.to_string(),
+ person_version: entry.person_version,
+ tombstoned_at: entry.tombstoned_at_ms,
+ })
+ .collect(),
+ }))
+ }
+
async fn delete_tombstoned_persons(
&self,
request: Request<DeleteTombstonedPersonsRequest>,
@@ -1427,3 +1513,18 @@ impl PersonHogReplica for PersonHogReplicaService {
Ok(Response::new(SetPersonVersionFloorResponse { updated }))
}
}
+
+fn tombstone_to_proto(person: storage::types::TombstonedPerson) -> TombstonedPerson {
+ TombstonedPerson {
+ person_uuid: person.uuid.to_string(),
+ version: person.version,
+ distinct_ids: person
+ .distinct_ids
+ .into_iter()
+ .map(|did| TombstonedDistinctId {
+ distinct_id: did.distinct_id,
+ version: did.version,
+ })
+ .collect(),
+ }
+}
diff --git a/rust/personhog-replica/src/service/tests/mocks.rs b/rust/personhog-replica/src/service/tests/mocks.rs
index 68a128362bde..dc562c73dfe7 100644
--- a/rust/personhog-replica/src/service/tests/mocks.rs
+++ b/rust/personhog-replica/src/service/tests/mocks.rs
@@ -109,6 +109,31 @@ impl storage::PersonLookup for FailingStorage {
Err(self.error.clone())
}
+ async fn get_person_tombstones(
+ &self,
+ _team_id: i64,
+ _uuids: &[Uuid],
+ ) -> storage::StorageResult<Vec<storage::types::TombstonedPerson>> {
+ Err(self.error.clone())
+ }
+
+ async fn ack_person_tombstones(
+ &self,
+ _team_id: i64,
+ _acked: &[(Uuid, i64)],
+ ) -> storage::StorageResult<i64> {
+ Err(self.error.clone())
+ }
+
+ async fn list_person_tombstone_queue(
+ &self,
+ _after: (i64, Uuid),
+ _team_id: Option<i64>,
+ _limit: i64,
+ ) -> storage::StorageResult<Vec<storage::types::PersonTombstoneQueueEntry>> {
+ Err(self.error.clone())
+ }
+
async fn delete_persons_batch_for_team(
&self,
_team_id: i64,
@@ -498,6 +523,31 @@ impl storage::PersonLookup for SuccessStorage {
Ok(storage::TombstonedDeleteOutcome::default())
}
+ async fn get_person_tombstones(
+ &self,
+ _team_id: i64,
+ _uuids: &[Uuid],
+ ) -> storage::StorageResult<Vec<storage::types::TombstonedPerson>> {
+ Ok(Vec::new())
+ }
+
+ async fn ack_person_tombstones(
+ &self,
+ _team_id: i64,
+ _acked: &[(Uuid, i64)],
+ ) -> storage::StorageResult<i64> {
+ Ok(0)
+ }
+
+ async fn list_person_tombstone_queue(
+ &self,
+ _after: (i64, Uuid),
+ _team_id: Option<i64>,
+ _limit: i64,
+ ) -> storage::StorageResult<Vec<storage::types::PersonTombstoneQueueEntry>> {
+ Ok(Vec::new())
+ }
+
async fn delete_persons_batch_for_team(
&self,
_team_id: i64,
@@ -946,6 +996,31 @@ impl storage::PersonLookup for PopulatedStorage {
Ok(storage::TombstonedDeleteOutcome::default())
}
+ async fn get_person_tombstones(
+ &self,
+ _team_id: i64,
+ _uuids: &[Uuid],
+ ) -> storage::StorageResult<Vec<storage::types::TombstonedPerson>> {
+ Ok(Vec::new())
+ }
+
+ async fn ack_person_tombstones(
+ &self,
+ _team_id: i64,
+ _acked: &[(Uuid, i64)],
+ ) -> storage::StorageResult<i64> {
+ Ok(0)
+ }
+
+ async fn list_person_tombstone_queue(
+ &self,
+ _after: (i64, Uuid),
+ _team_id: Option<i64>,
+ _limit: i64,
+ ) -> storage::StorageResult<Vec<storage::types::PersonTombstoneQueueEntry>> {
+ Ok(Vec::new())
+ }
+
async fn delete_persons_batch_for_team(
&self,
_team_id: i64,
@@ -1370,6 +1445,31 @@ impl storage::PersonLookup for ConsistencyTrackingStorage {
Ok(storage::TombstonedDeleteOutcome::default())
}
+ async fn get_person_tombstones(
+ &self,
+ _team_id: i64,
+ _uuids: &[Uuid],
+ ) -> storage::StorageResult<Vec<storage::types::TombstonedPerson>> {
+ Ok(Vec::new())
+ }
+
+ async fn ack_person_tombstones(
+ &self,
+ _team_id: i64,
+ _acked: &[(Uuid, i64)],
+ ) -> storage::StorageResult<i64> {
+ Ok(0)
+ }
+
+ async fn list_person_tombstone_queue(
+ &self,
+ _after: (i64, Uuid),
+ _team_id: Option<i64>,
+ _limit: i64,
+ ) -> storage::StorageResult<Vec<storage::types::PersonTombstoneQueueEntry>> {
+ Ok(Vec::new())
+ }
+
async fn delete_persons_batch_for_team(
&self,
_team_id: i64,
diff --git a/rust/personhog-replica/src/storage/postgres/person.rs b/rust/personhog-replica/src/storage/postgres/person.rs
index f73773e23d3a..00eebfbe23b1 100644
--- a/rust/personhog-replica/src/storage/postgres/person.rs
+++ b/rust/personhog-replica/src/storage/postgres/person.rs
@@ -13,8 +13,8 @@ use super::{PostgresStorage, DB_BULK_CHUNKS, DB_QUERY_DURATION, DB_ROWS_RETURNED
use crate::storage::error::{StorageError, StorageResult};
use crate::storage::traits::PersonLookup;
use crate::storage::types::{
- DeletePersonsMode, DeletePersonsOutcome, Person, SplitResult, TombstonedDeleteOutcome,
- TombstonedDistinctId, TombstonedPerson,
+ DeletePersonsMode, DeletePersonsOutcome, Person, PersonTombstoneQueueEntry, SplitResult,
+ TombstonedDeleteOutcome, TombstonedDistinctId, TombstonedPerson,
};
/// Version offset for split person/PDI rows — mirrors the Django convention.
@@ -516,6 +516,13 @@ impl PersonLookup for PostgresStorage {
];
let _timer = common_metrics::timing_guard(DB_QUERY_DURATION, &labels);
+ sqlx::query!(
+ "DELETE FROM person_tombstone_publish_queue WHERE team_id = $1",
+ team_id as i32
+ )
+ .execute(&self.bulk_primary_pool)
+ .await?;
+
// Team teardown always removes the rows, tombstoned ones included: nothing
// sweeps a deleted team's tombstones into the cleanup queue.
let mut person_ids: Vec<i64> = sqlx::query_scalar!(
@@ -567,6 +574,134 @@ impl PersonLookup for PostgresStorage {
Ok(results.iter().sum())
}
+ async fn get_person_tombstones(
+ &self,
+ team_id: i64,
+ uuids: &[Uuid],
+ ) -> StorageResult<Vec<TombstonedPerson>> {
+ if uuids.is_empty() {
+ return Ok(Vec::new());
+ }
+ let labels = [
+ ("operation".to_string(), "get_person_tombstones".to_string()),
+ ("pool".to_string(), "primary".to_string()),
+ ("client".to_string(), current_client_name().to_string()),
+ ("method".to_string(), current_method_name().to_string()),
+ ];
+ let _timer = common_metrics::timing_guard(DB_QUERY_DURATION, &labels);
+
+ let mut conn = PostgresStorage::acquire_timed(&self.primary_pool, "primary").await?;
+ let mut tx = sqlx::Connection::begin(&mut *conn).await?;
+ sqlx::query("SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY")
+ .execute(&mut *tx)
+ .await?;
+ let rows = sqlx::query!(
+ r#"
+ SELECT id::bigint as "id!", uuid as "uuid!",
+ COALESCE(version, 0)::bigint as "version!"
+ FROM posthog_person
+ WHERE team_id = $1 AND uuid = ANY($2) AND is_deleted = true
+ "#,
+ team_id as i32,
+ uuids
+ )
+ .fetch_all(&mut *tx)
+ .await?;
+ let persons = rows
+ .into_iter()
+ .map(|row| (row.id, row.uuid, row.version))
+ .collect();
+ let mut tombstones = with_tombstoned_distinct_ids(&mut tx, team_id, persons).await?;
+ tx.commit().await?;
+ tombstones.sort_by(|a, b| a.uuid.cmp(&b.uuid));
+ common_metrics::histogram(DB_ROWS_RETURNED, &labels, tombstones.len() as f64);
+ Ok(tombstones)
+ }
+
+ async fn ack_person_tombstones(
+ &self,
+ team_id: i64,
+ acked: &[(Uuid, i64)],
+ ) -> StorageResult<i64> {
+ if acked.is_empty() {
+ return Ok(0);
+ }
+ let labels = [
+ ("operation".to_string(), "ack_person_tombstones".to_string()),
+ ("pool".to_string(), "primary".to_string()),
+ ("client".to_string(), current_client_name().to_string()),
+ ("method".to_string(), current_method_name().to_string()),
+ ];
+ let _timer = common_metrics::timing_guard(DB_QUERY_DURATION, &labels);
+
+ let uuids: Vec<Uuid> = acked.iter().map(|(uuid, _)| *uuid).collect();
+ let versions: Vec<i64> = acked.iter().map(|(_, version)| *version).collect();
+ let mut conn = PostgresStorage::acquire_timed(&self.primary_pool, "primary").await?;
+ let result = sqlx::query!(
+ r#"
+ DELETE FROM person_tombstone_publish_queue q
+ USING UNNEST($2::uuid[], $3::bigint[]) AS a(person_uuid, person_version)
+ WHERE q.team_id = $1
+ AND q.person_uuid = a.person_uuid
+ AND q.person_version <= a.person_version
+ "#,
+ team_id as i32,
+ &uuids,
+ &versions
+ )
+ .execute(&mut *conn)
+ .await?;
+ Ok(result.rows_affected() as i64)
+ }
+
+ async fn list_person_tombstone_queue(
+ &self,
+ after: (i64, Uuid),
+ team_id: Option<i64>,
+ limit: i64,
+ ) -> StorageResult<Vec<PersonTombstoneQueueEntry>> {
+ let labels = [
+ (
+ "operation".to_string(),
+ "list_person_tombstone_queue".to_string(),
+ ),
+ ("pool".to_string(), "primary".to_string()),
+ ("client".to_string(), current_client_name().to_string()),
+ ("method".to_string(), current_method_name().to_string()),
+ ];
+ let _timer = common_metrics::timing_guard(DB_QUERY_DURATION, &labels);
+
+ let mut conn = PostgresStorage::acquire_timed(&self.primary_pool, "primary").await?;
+ let rows = sqlx::query!(
+ r#"
+ SELECT team_id::bigint as "team_id!", person_uuid as "person_uuid!",
+ person_version as "person_version!",
+ (EXTRACT(EPOCH FROM tombstoned_at) * 1000)::bigint as "tombstoned_at_ms!"
+ FROM person_tombstone_publish_queue
+ WHERE (team_id, person_uuid) > ($1::int, $2::uuid)
+ AND ($3::int IS NULL OR team_id = $3)
+ ORDER BY team_id, person_uuid
+ LIMIT $4
+ "#,
+ after.0 as i32,
+ after.1,
+ team_id.map(|t| t as i32),
+ limit
+ )
+ .fetch_all(&mut *conn)
+ .await?;
+ common_metrics::histogram(DB_ROWS_RETURNED, &labels, rows.len() as f64);
+ Ok(rows
+ .into_iter()
+ .map(|row| PersonTombstoneQueueEntry {
+ team_id: row.team_id,
+ person_uuid: row.person_uuid,
+ person_version: row.person_version,
+ tombstoned_at_ms: row.tombstoned_at_ms,
+ })
+ .collect())
+ }
+
async fn delete_tombstoned_persons(
&self,
team_id: i64,
@@ -1268,28 +1403,33 @@ async fn tombstone_persons_by_uuids(
}
let deleted = tombstones.len() as i64;
- if !already.is_empty() {
- let already_ids: Vec<i64> = already.iter().map(|(id, _, _)| *id).collect();
- let dids = sqlx::query!(
+ if !tombstones.is_empty() {
+ let queued_uuids: Vec<Uuid> = tombstones.iter().map(|t| t.uuid).collect();
+ let queued_versions: Vec<i64> = tombstones.iter().map(|t| t.version).collect();
+ sqlx::query!(
r#"
- SELECT person_id as "person_id!", distinct_id as "distinct_id!",
- COALESCE(version, 0)::bigint as "version!"
- FROM posthog_persondistinctid
- WHERE team_id = $1 AND person_id = ANY($2) AND is_deleted = true
+ INSERT INTO person_tombstone_publish_queue (team_id, person_uuid, person_version)
+ SELECT $1, t.person_uuid, t.person_version
+ FROM UNNEST($2::uuid[], $3::bigint[]) AS t(person_uuid, person_version)
+ ON CONFLICT (team_id, person_uuid) DO UPDATE
+ SET person_version = EXCLUDED.person_version,
+ tombstoned_at = now(),
+ attempts = 0,
+ last_attempt_at = NULL,
+ last_error = NULL,
+ given_up_at = NULL
+ WHERE EXCLUDED.person_version > person_tombstone_publish_queue.person_version
"#,
team_id as i32,
- &already_ids
+ &queued_uuids,
+ &queued_versions
)
- .fetch_all(&mut *tx)
+ .execute(&mut *tx)
.await?;
- tombstones.extend(build_tombstones(
- already,
- dids.into_iter()
- .map(|row| (row.person_id, row.distinct_id, row.version))
- .collect(),
- ));
}
+ tombstones.extend(with_tombstoned_distinct_ids(&mut tx, team_id, already).await?);
+
tx.commit().await?;
tombstones.sort_by(|a, b| a.uuid.cmp(&b.uuid));
Ok(DeletePersonsOutcome {
@@ -1429,6 +1569,35 @@ async fn tombstone_persons_by_ids_in_tx(
))
}
+async fn with_tombstoned_distinct_ids(
+ conn: &mut sqlx::PgConnection,
+ team_id: i64,
+ persons: Vec<(i64, Uuid, i64)>,
+) -> StorageResult<Vec<TombstonedPerson>> {
+ if persons.is_empty() {
+ return Ok(Vec::new());
+ }
+ let person_ids: Vec<i64> = persons.iter().map(|(id, _, _)| *id).collect();
+ let dids = sqlx::query!(
+ r#"
+ SELECT person_id as "person_id!", distinct_id as "distinct_id!",
+ COALESCE(version, 0)::bigint as "version!"
+ FROM posthog_persondistinctid
+ WHERE team_id = $1 AND person_id = ANY($2) AND is_deleted = true
+ "#,
+ team_id as i32,
+ &person_ids
+ )
+ .fetch_all(&mut *conn)
+ .await?;
+ Ok(build_tombstones(
+ persons,
+ dids.into_iter()
+ .map(|row| (row.person_id, row.distinct_id, row.version))
+ .collect(),
+ ))
+}
+
/// Distinct ids are sorted by name so a retry reports the same list as the original call.
fn build_tombstones(
persons: Vec<(i64, Uuid, i64)>,
diff --git a/rust/personhog-replica/src/storage/traits/person.rs b/rust/personhog-replica/src/storage/traits/person.rs
index d5d3cd933fa6..306821fef916 100644
--- a/rust/personhog-replica/src/storage/traits/person.rs
+++ b/rust/personhog-replica/src/storage/traits/person.rs
@@ -3,7 +3,8 @@ use uuid::Uuid;
use crate::storage::error::StorageResult;
use crate::storage::types::{
- DeletePersonsMode, DeletePersonsOutcome, Person, SplitResult, TombstonedDeleteOutcome,
+ DeletePersonsMode, DeletePersonsOutcome, Person, PersonTombstoneQueueEntry, SplitResult,
+ TombstonedDeleteOutcome, TombstonedPerson,
};
/// Person lookup operations by ID, UUID, and distinct ID
@@ -73,6 +74,25 @@ pub trait PersonLookup: Send + Sync {
max_rows: i64,
) -> StorageResult<TombstonedDeleteOutcome>;
+ async fn get_person_tombstones(
+ &self,
+ team_id: i64,
+ uuids: &[Uuid],
+ ) -> StorageResult<Vec<TombstonedPerson>>;
+
+ async fn ack_person_tombstones(
+ &self,
+ team_id: i64,
+ acked: &[(Uuid, i64)],
+ ) -> StorageResult<i64>;
+
+ async fn list_person_tombstone_queue(
+ &self,
+ after: (i64, Uuid),
+ team_id: Option<i64>,
+ limit: i64,
+ ) -> StorageResult<Vec<PersonTombstoneQueueEntry>>;
+
/// Delete up to `batch_size` persons for a team. Selects person IDs with
/// FOR UPDATE SKIP LOCKED, then splits them into fixed-size chunks and
/// deletes concurrently. Each chunk deletes distinct_ids first (FK is
diff --git a/rust/personhog-replica/src/storage/types/person.rs b/rust/personhog-replica/src/storage/types/person.rs
index b4ecd738f10b..b8932278d092 100644
--- a/rust/personhog-replica/src/storage/types/person.rs
+++ b/rust/personhog-replica/src/storage/types/person.rs
@@ -39,6 +39,14 @@ pub struct TombstonedPerson {
pub distinct_ids: Vec<TombstonedDistinctId>,
}
+#[derive(Debug, Clone, PartialEq, Eq)]
+pub struct PersonTombstoneQueueEntry {
+ pub team_id: i64,
+ pub person_uuid: Uuid,
+ pub person_version: i64,
+ pub tombstoned_at_ms: i64,
+}
+
#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub struct DeletePersonsOutcome {
pub deleted: i64,
diff --git a/rust/personhog-replica/tests/common/mod.rs b/rust/personhog-replica/tests/common/mod.rs
index a2f0e588b511..b6a702b79640 100644
--- a/rust/personhog-replica/tests/common/mod.rs
+++ b/rust/personhog-replica/tests/common/mod.rs
@@ -299,6 +299,11 @@ impl TestContext {
}
pub async fn cleanup(&self) -> Result<(), sqlx::Error> {
+ sqlx::query("DELETE FROM person_tombstone_publish_queue WHERE team_id = $1")
+ .bind(self.team_id)
+ .execute(&self.pool)
+ .await?;
+
sqlx::query("DELETE FROM posthog_featureflaghashkeyoverride WHERE team_id = $1")
.bind(self.team_id)
.execute(&self.pool)
diff --git a/rust/personhog-replica/tests/storage_tests.rs b/rust/personhog-replica/tests/storage_tests.rs
index ec1cc0fa7087..8be7284d2bff 100644
--- a/rust/personhog-replica/tests/storage_tests.rs
+++ b/rust/personhog-replica/tests/storage_tests.rs
@@ -599,6 +599,168 @@ async fn test_delete_persons_tombstone_mode_reports_versions_again_on_retry() {
expected.sort_by(|a, b| a.uuid.cmp(&b.uuid));
assert_eq!(retry.tombstones, Some(expected));
+ let mut queued: Vec<(uuid::Uuid, i64)> = sqlx::query_as(
+ "SELECT person_uuid, person_version FROM person_tombstone_publish_queue WHERE team_id = $1",
+ )
+ .bind(ctx.team_id as i32)
+ .fetch_all(&ctx.pool)
+ .await
+ .unwrap();
+ queued.sort();
+ let mut expected_queue = vec![(person.uuid, 1), (live.uuid, 1)];
+ expected_queue.sort();
+ assert_eq!(queued, expected_queue);
+
+ ctx.cleanup().await.ok();
+}
+
+#[tokio::test]
+async fn test_delete_persons_tombstone_mode_requeues_a_revived_person() {
+ let ctx = TestContext::new().await;
+ let person = ctx.insert_person("requeue", None).await.unwrap();
+ ctx.storage
+ .delete_persons(ctx.team_id, &[person.uuid], DeletePersonsMode::Tombstone)
+ .await
+ .unwrap();
+ sqlx::query(
+ "UPDATE person_tombstone_publish_queue SET attempts = 12, last_error = 'x', given_up_at = now() WHERE team_id = $1",
+ )
+ .bind(ctx.team_id as i32)
+ .execute(&ctx.pool)
+ .await
+ .unwrap();
+ for table in ["posthog_person", "posthog_persondistinctid"] {
+ let key = if table == "posthog_person" {
+ "id"
+ } else {
+ "person_id"
+ };
+ sqlx::query(&format!(
+ "UPDATE {table} SET is_deleted = false, version = version + 1 WHERE team_id = $1 AND {key} = $2"
+ ))
+ .bind(ctx.team_id as i32)
+ .bind(person.id)
+ .execute(&ctx.pool)
+ .await
+ .unwrap();
+ }
+
+ ctx.storage
+ .delete_persons(ctx.team_id, &[person.uuid], DeletePersonsMode::Tombstone)
+ .await
+ .unwrap();
+
+ let row: (i64, i32, Option<String>, bool) = sqlx::query_as(
+ "SELECT person_version, attempts, last_error, given_up_at IS NULL FROM person_tombstone_publish_queue WHERE team_id = $1",
+ )
+ .bind(ctx.team_id as i32)
+ .fetch_one(&ctx.pool)
+ .await
+ .unwrap();
+ assert_eq!(row, (3, 0, None, true));
+
+ ctx.cleanup().await.ok();
+}
+
+#[tokio::test]
+async fn test_ack_person_tombstones_clears_only_rows_at_or_below_the_acked_version() {
+ let ctx = TestContext::new().await;
+ let acked = ctx.insert_person("ack_delivered", None).await.unwrap();
+ let stale = ctx.insert_person("ack_stale", None).await.unwrap();
+ ctx.storage
+ .delete_persons(
+ ctx.team_id,
+ &[acked.uuid, stale.uuid],
+ DeletePersonsMode::Tombstone,
+ )
+ .await
+ .unwrap();
+
+ let cleared = ctx
+ .storage
+ .ack_person_tombstones(ctx.team_id, &[(acked.uuid, 1), (stale.uuid, 0)])
+ .await
+ .unwrap();
+
+ assert_eq!(cleared, 1);
+ let remaining: Vec<(uuid::Uuid,)> =
+ sqlx::query_as("SELECT person_uuid FROM person_tombstone_publish_queue WHERE team_id = $1")
+ .bind(ctx.team_id as i32)
+ .fetch_all(&ctx.pool)
+ .await
+ .unwrap();
+ assert_eq!(remaining, vec![(stale.uuid,)]);
+
+ ctx.cleanup().await.ok();
+}
+
+#[tokio::test]
+async fn test_list_person_tombstone_queue_pages_in_key_order() {
+ let ctx = TestContext::new().await;
+ let mut uuids = Vec::new();
+ for name in ["list_a", "list_b", "list_c"] {
+ uuids.push(ctx.insert_person(name, None).await.unwrap().uuid);
+ }
+ ctx.storage
+ .delete_persons(ctx.team_id, &uuids, DeletePersonsMode::Tombstone)
+ .await
+ .unwrap();
+ uuids.sort();
+
+ let first = ctx
+ .storage
+ .list_person_tombstone_queue((0, uuid::Uuid::nil()), Some(ctx.team_id), 2)
+ .await
+ .unwrap();
+ let last = first.last().unwrap();
+ let rest = ctx
+ .storage
+ .list_person_tombstone_queue((last.team_id, last.person_uuid), Some(ctx.team_id), 2)
+ .await
+ .unwrap();
+
+ let listed: Vec<(uuid::Uuid, i64)> = first
+ .iter()
+ .chain(rest.iter())
+ .map(|entry| (entry.person_uuid, entry.person_version))
+ .collect();
+ assert_eq!(
+ listed,
+ uuids.iter().map(|uuid| (*uuid, 1)).collect::<Vec<_>>()
+ );
+ assert_eq!(first.len(), 2);
+
+ ctx.cleanup().await.ok();
+}
+
+#[tokio::test]
+async fn test_get_person_tombstones_reports_only_tombstoned_persons() {
+ let ctx = TestContext::new().await;
+ let tombstoned = ctx.insert_person("get_tombstoned", None).await.unwrap();
+ let live = ctx.insert_person("get_live", None).await.unwrap();
+ let deleted = ctx
+ .storage
+ .delete_persons(
+ ctx.team_id,
+ &[tombstoned.uuid],
+ DeletePersonsMode::Tombstone,
+ )
+ .await
+ .unwrap();
+
+ let tombstones = ctx
+ .storage
+ .get_person_tombstones(
+ ctx.team_id,
+ &[tombstoned.uuid, live.uuid, uuid::Uuid::new_v4()],
+ )
+ .await
+ .unwrap();
+
+ assert_eq!(Some(tombstones), deleted.tombstones);
+ let (is_deleted, _, _, _) = tombstone_state(&ctx.pool, ctx.team_id, live.id).await;
+ assert!(!is_deleted);
+
ctx.cleanup().await.ok();
}
@@ -647,6 +809,14 @@ async fn test_delete_persons_batch_for_team_removes_tombstoned_rows() {
);
}
assert_eq!(counts, vec![2, 0]);
+ let queued: i64 = sqlx::query_scalar(
+ "SELECT count(*) FROM person_tombstone_publish_queue WHERE team_id = $1",
+ )
+ .bind(ctx.team_id as i32)
+ .fetch_one(&ctx.pool)
+ .await
+ .unwrap();
+ assert_eq!(queued, 0);
for person in [&live, &tombstoned] {
let remaining: i64 = sqlx::query_scalar(
diff --git a/rust/personhog-router/src/proxy.rs b/rust/personhog-router/src/proxy.rs
index fba76aedaacc..a3eb6709f665 100644
--- a/rust/personhog-router/src/proxy.rs
+++ b/rust/personhog-router/src/proxy.rs
@@ -29,6 +29,7 @@ const IDENTITY_PREFIX: &str = "/personhog.identity.v1.PersonHogIdentity/";
const LIFECYCLE_PREFIX: &str = "/personhog.lifecycle.v1.PersonHogLifecycle/";
pub const KNOWN_METHODS: &[&str] = &[
+ "AckPersonTombstones",
"CheckCohortMembership",
"CountCohortMembers",
"CountGroupTypeMappings",
@@ -59,6 +60,7 @@ pub const KNOWN_METHODS: &[&str] = &[
"GetPerson",
"GetPersonByDistinctId",
"GetPersonByUuid",
+ "GetPersonTombstones",
"GetPersons",
"GetPersonsByDistinctIds",
"GetPersonsByDistinctIdsInTeam",
@@ -66,6 +68,7 @@ pub const KNOWN_METHODS: &[&str] = &[
"InsertCohortMembers",
"ListCohortMemberIds",
"ListGroups",
+ "ListPersonTombstoneQueue",
"ReleaseFence",
"ReleaseFences",
"SetPersonDistinctIdVersionFloor",
diff --git a/rust/personhog-router/tests/common/mod.rs b/rust/personhog-router/tests/common/mod.rs
index 4bc7ecb759a2..fe36573f9c13 100644
--- a/rust/personhog-router/tests/common/mod.rs
+++ b/rust/personhog-router/tests/common/mod.rs
@@ -25,9 +25,10 @@ use personhog_proto::personhog::replica::v1::person_hog_replica_server::{
};
use personhog_proto::personhog::service::v1::person_hog_service_client::PersonHogServiceClient;
use personhog_proto::personhog::types::v1::{
- CheckCohortMembershipRequest, CohortMembershipResponse, CountCohortMembersRequest,
- CountCohortMembersResponse, CountGroupTypeMappingsRequest, CountGroupTypeMappingsResponse,
- CreateGroupRequest, CreateGroupResponse, DeleteCohortMemberRequest, DeleteCohortMemberResponse,
+ AckPersonTombstonesRequest, AckPersonTombstonesResponse, CheckCohortMembershipRequest,
+ CohortMembershipResponse, CountCohortMembersRequest, CountCohortMembersResponse,
+ CountGroupTypeMappingsRequest, CountGroupTypeMappingsResponse, CreateGroupRequest,
+ CreateGroupResponse, DeleteCohortMemberRequest, DeleteCohortMemberResponse,
DeleteCohortMembersBulkRequest, DeleteCohortMembersBulkResponse, DeleteGroupTypeMappingRequest,
DeleteGroupTypeMappingResponse, DeleteGroupTypeMappingsBatchForTeamRequest,
DeleteGroupTypeMappingsBatchForTeamResponse, DeleteGroupsBatchForTeamRequest,
@@ -43,10 +44,12 @@ use personhog_proto::personhog::types::v1::{
GetGroupTypeMappingsByTeamIdsRequest, GetGroupsBatchRequest, GetGroupsBatchResponse,
GetGroupsRequest, GetHashKeyOverrideContextRequest, GetHashKeyOverrideContextResponse,
GetPersonByDistinctIdRequest, GetPersonByUuidRequest, GetPersonRequest, GetPersonResponse,
- GetPersonsByDistinctIdsInTeamRequest, GetPersonsByDistinctIdsRequest, GetPersonsByUuidsRequest,
- GetPersonsRequest, GroupTypeMappingsBatchResponse, GroupTypeMappingsResponse, GroupsResponse,
+ GetPersonTombstonesRequest, GetPersonTombstonesResponse, GetPersonsByDistinctIdsInTeamRequest,
+ GetPersonsByDistinctIdsRequest, GetPersonsByUuidsRequest, GetPersonsRequest,
+ GroupTypeMappingsBatchResponse, GroupTypeMappingsResponse, GroupsResponse,
InsertCohortMembersRequest, InsertCohortMembersResponse, ListCohortMemberIdsRequest,
- ListCohortMemberIdsResponse, ListGroupsRequest, ListGroupsResponse, Person,
+ ListCohortMemberIdsResponse, ListGroupsRequest, ListGroupsResponse,
+ ListPersonTombstoneQueueRequest, ListPersonTombstoneQueueResponse, Person,
PersonsByDistinctIdsInTeamResponse, PersonsByDistinctIdsResponse, PersonsResponse,
SetPersonDistinctIdVersionFloorRequest, SetPersonDistinctIdVersionFloorResponse,
SetPersonVersionFloorRequest, SetPersonVersionFloorResponse, SplitPersonRequest,
@@ -489,6 +492,27 @@ impl PersonHogReplica for TestReplicaService {
Ok(Response::new(DeleteTombstonedPersonsResponse::default()))
}
+ async fn get_person_tombstones(
+ &self,
+ _request: Request<GetPersonTombstonesRequest>,
+ ) -> Result<Response<GetPersonTombstonesResponse>, Status> {
+ Ok(Response::new(GetPersonTombstonesResponse::default()))
+ }
+
+ async fn ack_person_tombstones(
+ &self,
+ _request: Request<AckPersonTombstonesRequest>,
+ ) -> Result<Response<AckPersonTombstonesResponse>, Status> {
+ Ok(Response::new(AckPersonTombstonesResponse::default()))
+ }
+
+ async fn list_person_tombstone_queue(
+ &self,
+ _request: Request<ListPersonTombstoneQueueRequest>,
+ ) -> Result<Response<ListPersonTombstoneQueueResponse>, Status> {
+ Ok(Response::new(ListPersonTombstoneQueueResponse::default()))
+ }
+
async fn split_person(
&self,
_request: Request<SplitPersonRequest>,
diff --git a/rust/property-defs-rs/tests/group_type_resolver.rs b/rust/property-defs-rs/tests/group_type_resolver.rs
index 4775cdcd08ff..bced0a5778d5 100644
--- a/rust/property-defs-rs/tests/group_type_resolver.rs
+++ b/rust/property-defs-rs/tests/group_type_resolver.rs
@@ -359,6 +359,24 @@ impl PersonHogService for MockPersonHogService {
) -> Result<Response<DeleteTombstonedPersonsResponse>, Status> {
Err(Status::unimplemented(""))
}
+ async fn get_person_tombstones(
+ &self,
+ _: Request<GetPersonTombstonesRequest>,
+ ) -> Result<Response<GetPersonTombstonesResponse>, Status> {
+ Err(Status::unimplemented(""))
+ }
+ async fn ack_person_tombstones(
+ &self,
+ _: Request<AckPersonTombstonesRequest>,
+ ) -> Result<Response<AckPersonTombstonesResponse>, Status> {
+ Err(Status::unimplemented(""))
+ }
+ async fn list_person_tombstone_queue(
+ &self,
+ _: Request<ListPersonTombstoneQueueRequest>,
+ ) -> Result<Response<ListPersonTombstoneQueueResponse>, Status> {
+ Err(Status::unimplemented(""))
+ }
async fn get_group_type_mapping_by_dashboard_id(
&self,
_: Request<GetGroupTypeMappingByDashboardIdRequest>,