@replit/protocol 0.6.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,5 @@
1
1
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
2
2
  import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
3
- import type { SourceDeleteResponse } from "./transfer.js";
4
- import type { SourceDeleteRequest } from "./transfer.js";
5
- import type { SourceCleanUpTransferDataResponse } from "./transfer.js";
6
- import type { SourceCleanUpTransferDataRequest } from "./transfer.js";
7
- import type { DestinationAbortResponse } from "./transfer.js";
8
- import type { DestinationAbortRequest } from "./transfer.js";
9
- import type { SourceAbortResponse } from "./transfer.js";
10
- import type { SourceAbortRequest } from "./transfer.js";
11
- import type { DestinationRemoveTombstoneResponse } from "./transfer.js";
12
- import type { DestinationRemoveTombstoneRequest } from "./transfer.js";
13
- import type { DestinationAddTombstoneResponse } from "./transfer.js";
14
- import type { DestinationAddTombstoneRequest } from "./transfer.js";
15
- import type { DestinationTransferInResponse } from "./transfer.js";
16
- import type { DestinationTransferInRequest } from "./transfer.js";
17
- import type { TransferStatusRequest } from "./transfer.js";
18
- import type { SourceTransferOutResponse } from "./transfer.js";
19
- import type { SourceTransferOutRequest } from "./transfer.js";
20
- import type { SourceRemoveTombstoneResponse } from "./transfer.js";
21
- import type { SourceRemoveTombstoneRequest } from "./transfer.js";
22
- import type { IsSourceFullyDrainedResponse } from "./transfer.js";
23
- import type { IsSourceFullyDrainedRequest } from "./transfer.js";
24
- import type { SourceStopAndDrainResponse } from "./transfer.js";
25
- import type { SourceStopAndDrainRequest } from "./transfer.js";
26
3
  import type { DstAbortDiscardImportRequest } from "./transfer.js";
27
4
  import type { TransferRequest } from "./transfer.js";
28
5
  import type { DstTransferInRequest } from "./transfer.js";
@@ -99,156 +76,6 @@ export interface ITransferResourceGroupClient {
99
76
  * @generated from protobuf rpc: SrcDelete
100
77
  */
101
78
  srcDelete(input: TransferRequest, options?: RpcOptions): UnaryCall<TransferRequest, PhaseResponse>;
102
- /**
103
- * SourceStopAndDrain blocks the resource group on the source cell for
104
- * the duration of a transfer and starts quiescing it. SUCCESS means the
105
- * group now rejects new writes and placement AND that a stop has been
106
- * submitted for every member; it does NOT mean in-flight mutations have
107
- * finished. The call returns promptly rather than waiting out arbitrarily
108
- * long shutdowns, so it never outlives a coordinator activity timeout.
109
- * The coordinator MUST poll IsSourceFullyDrained (exponential backoff)
110
- * and wait for fully_drained before SourceTransferOut; only then is the
111
- * snapshot guaranteed to observe every mutation that ever committed on
112
- * the source, so cutover cannot silently drop a late write. The group
113
- * stays blocked until SourceRemoveTombstone or until the tombstone
114
- * expires. Expiry is the disaster backstop that unbricks a group when the
115
- * coordinator dies: the coordinator supplies the ttl, comfortably longer
116
- * than its maximum workflow duration so a live transfer never lapses.
117
- * Idempotent: re-tombstoning an already tombstoned group extends the
118
- * expiry and re-submits the stop.
119
- *
120
- * @generated from protobuf rpc: SourceStopAndDrain
121
- */
122
- sourceStopAndDrain(input: SourceStopAndDrainRequest, options?: RpcOptions): UnaryCall<SourceStopAndDrainRequest, SourceStopAndDrainResponse>;
123
- /**
124
- * IsSourceFullyDrained reports whether every mutation admitted before the
125
- * tombstone has committed or can no longer commit. It is the
126
- * authoritative quiescence signal and a precondition the coordinator
127
- * polls after SourceStopAndDrain returns SUCCESS and before
128
- * SourceTransferOut. fully_drained reads false while any member workload
129
- * is still terminating or a create admitted before the fence has not yet
130
- * settled, and stays false whenever the group is not fenced by an active
131
- * source transfer. Read-only: does not mutate the group or its tombstone.
132
- *
133
- * @generated from protobuf rpc: IsSourceFullyDrained
134
- */
135
- isSourceFullyDrained(input: IsSourceFullyDrainedRequest, options?: RpcOptions): UnaryCall<IsSourceFullyDrainedRequest, IsSourceFullyDrainedResponse>;
136
- /**
137
- * SourceRemoveTombstone lifts the source group's tombstone, restoring
138
- * the group to service. It is the rollback path, valid only while
139
- * rollback to the source is still safe — before cutover, or after a
140
- * transfer that never cut over. The coordinator must not call it once
141
- * the destination has been opened: the retired source must then be
142
- * retired with SourceDelete, never reopened, so the source and
143
- * destination can never both serve the group. Idempotent: removing a
144
- * tombstone that does not exist returns success.
145
- *
146
- * @generated from protobuf rpc: SourceRemoveTombstone
147
- */
148
- sourceRemoveTombstone(input: SourceRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<SourceRemoveTombstoneRequest, SourceRemoveTombstoneResponse>;
149
- /**
150
- * SourceTransferOut exports the group without mutating it. When the export
151
- * completes synchronously, the response has SUCCESS and a payload. When it
152
- * continues asynchronously, the response has REQUEST_STARTED and no payload.
153
- * The coordinator then polls IsSourceTransferOutDone.
154
- *
155
- * @generated from protobuf rpc: SourceTransferOut
156
- */
157
- sourceTransferOut(input: SourceTransferOutRequest, options?: RpcOptions): UnaryCall<SourceTransferOutRequest, SourceTransferOutResponse>;
158
- /**
159
- * IsSourceTransferOutDone reports the export state after a prior
160
- * SourceTransferOut returned REQUEST_STARTED.
161
- *
162
- * @generated from protobuf rpc: IsSourceTransferOutDone
163
- */
164
- isSourceTransferOutDone(input: TransferStatusRequest, options?: RpcOptions): UnaryCall<TransferStatusRequest, SourceTransferOutResponse>;
165
- /**
166
- * DestinationTransferIn registers the group from a SourceTransferOut
167
- * payload. A SUCCESS response means the import is complete. A
168
- * REQUEST_STARTED response means the import continues asynchronously. The
169
- * coordinator then polls IsDestinationTransferInDone.
170
- *
171
- * @generated from protobuf rpc: DestinationTransferIn
172
- */
173
- destinationTransferIn(input: DestinationTransferInRequest, options?: RpcOptions): UnaryCall<DestinationTransferInRequest, DestinationTransferInResponse>;
174
- /**
175
- * IsDestinationTransferInDone reports the import state after a prior
176
- * DestinationTransferIn returned REQUEST_STARTED.
177
- *
178
- * @generated from protobuf rpc: IsDestinationTransferInDone
179
- */
180
- isDestinationTransferInDone(input: TransferStatusRequest, options?: RpcOptions): UnaryCall<TransferStatusRequest, DestinationTransferInResponse>;
181
- /**
182
- * DestinationAddTombstone re-blocks an imported group without deleting
183
- * what was imported. It is the forward-recovery primitive for partial
184
- * activation: if DestinationRemoveTombstone succeeds on some services
185
- * but not all, the coordinator re-tombstones the opened ones and retries
186
- * removal, rather than aborting (which would delete writes the opened
187
- * services already accepted). Idempotent: re-tombstoning extends the
188
- * expiry.
189
- *
190
- * @generated from protobuf rpc: DestinationAddTombstone
191
- */
192
- destinationAddTombstone(input: DestinationAddTombstoneRequest, options?: RpcOptions): UnaryCall<DestinationAddTombstoneRequest, DestinationAddTombstoneResponse>;
193
- /**
194
- * DestinationRemoveTombstone lifts the imported group's tombstone on
195
- * the destination cell, opening it for traffic after cutover.
196
- * Idempotent: removing a tombstone that does not exist returns success.
197
- * The arrival tombstone also expires on its own ttl, so a coordinator
198
- * that dies after cutover but before removal cannot leave the group
199
- * permanently blocked.
200
- *
201
- * @generated from protobuf rpc: DestinationRemoveTombstone
202
- */
203
- destinationRemoveTombstone(input: DestinationRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<DestinationRemoveTombstoneRequest, DestinationRemoveTombstoneResponse>;
204
- /**
205
- * SourceAbort abandons a failed transfer on the source cell: the
206
- * service discards any in-progress export state and staged artifacts
207
- * belonging to this transfer. It never touches the group's own data —
208
- * SourceRemoveTombstone separately restores the group to service.
209
- * Idempotent: aborting a transfer with no state returns SUCCESS.
210
- *
211
- * @generated from protobuf rpc: SourceAbort
212
- */
213
- sourceAbort(input: SourceAbortRequest, options?: RpcOptions): UnaryCall<SourceAbortRequest, SourceAbortResponse>;
214
- /**
215
- * DestinationAbort abandons a failed transfer on the destination cell,
216
- * valid only before any DestinationRemoveTombstone has opened the group:
217
- * the service deletes whatever this transfer imported — data registered
218
- * under this transfer_id and its arrival tombstone — restoring the
219
- * destination to its pre-transfer state. Once the group has been opened
220
- * it may hold new writes, so recovery is forward via DestinationAddTombstone,
221
- * never DestinationAbort. It never touches state that predates the
222
- * transfer or belongs to another transfer. Idempotent: aborting a
223
- * transfer that imported nothing returns SUCCESS.
224
- *
225
- * @generated from protobuf rpc: DestinationAbort
226
- */
227
- destinationAbort(input: DestinationAbortRequest, options?: RpcOptions): UnaryCall<DestinationAbortRequest, DestinationAbortResponse>;
228
- /**
229
- * SourceCleanUpTransferData deletes whatever artifacts the service
230
- * staged for one transfer operation (staged exports, temporary
231
- * objects) — never the group's own data. Called after cutover, or when
232
- * a transfer is abandoned. Idempotent: a transfer with nothing staged
233
- * returns SUCCESS.
234
- *
235
- * @generated from protobuf rpc: SourceCleanUpTransferData
236
- */
237
- sourceCleanUpTransferData(input: SourceCleanUpTransferDataRequest, options?: RpcOptions): UnaryCall<SourceCleanUpTransferDataRequest, SourceCleanUpTransferDataResponse>;
238
- /**
239
- * SourceDelete permanently retires the source copy: the group can never
240
- * be placed or served on this cell again. The coordinator calls it only
241
- * after a verified cutover; there is no undo. Idempotent: an already
242
- * retired group returns SUCCESS.
243
- *
244
- * A service may delete source indexes and metadata during retirement, but
245
- * backing data referenced by the destination must remain readable. For
246
- * example, jetplane can delete source manifest indexes and member rows, but
247
- * must retain blocks referenced by the destination's copied manifests.
248
- *
249
- * @generated from protobuf rpc: SourceDelete
250
- */
251
- sourceDelete(input: SourceDeleteRequest, options?: RpcOptions): UnaryCall<SourceDeleteRequest, SourceDeleteResponse>;
252
79
  }
253
80
  /**
254
81
  * @generated from protobuf service replit.goval.api.lore.transfer.TransferResourceGroup
@@ -324,154 +151,4 @@ export declare class TransferResourceGroupClient implements ITransferResourceGro
324
151
  * @generated from protobuf rpc: SrcDelete
325
152
  */
326
153
  srcDelete(input: TransferRequest, options?: RpcOptions): UnaryCall<TransferRequest, PhaseResponse>;
327
- /**
328
- * SourceStopAndDrain blocks the resource group on the source cell for
329
- * the duration of a transfer and starts quiescing it. SUCCESS means the
330
- * group now rejects new writes and placement AND that a stop has been
331
- * submitted for every member; it does NOT mean in-flight mutations have
332
- * finished. The call returns promptly rather than waiting out arbitrarily
333
- * long shutdowns, so it never outlives a coordinator activity timeout.
334
- * The coordinator MUST poll IsSourceFullyDrained (exponential backoff)
335
- * and wait for fully_drained before SourceTransferOut; only then is the
336
- * snapshot guaranteed to observe every mutation that ever committed on
337
- * the source, so cutover cannot silently drop a late write. The group
338
- * stays blocked until SourceRemoveTombstone or until the tombstone
339
- * expires. Expiry is the disaster backstop that unbricks a group when the
340
- * coordinator dies: the coordinator supplies the ttl, comfortably longer
341
- * than its maximum workflow duration so a live transfer never lapses.
342
- * Idempotent: re-tombstoning an already tombstoned group extends the
343
- * expiry and re-submits the stop.
344
- *
345
- * @generated from protobuf rpc: SourceStopAndDrain
346
- */
347
- sourceStopAndDrain(input: SourceStopAndDrainRequest, options?: RpcOptions): UnaryCall<SourceStopAndDrainRequest, SourceStopAndDrainResponse>;
348
- /**
349
- * IsSourceFullyDrained reports whether every mutation admitted before the
350
- * tombstone has committed or can no longer commit. It is the
351
- * authoritative quiescence signal and a precondition the coordinator
352
- * polls after SourceStopAndDrain returns SUCCESS and before
353
- * SourceTransferOut. fully_drained reads false while any member workload
354
- * is still terminating or a create admitted before the fence has not yet
355
- * settled, and stays false whenever the group is not fenced by an active
356
- * source transfer. Read-only: does not mutate the group or its tombstone.
357
- *
358
- * @generated from protobuf rpc: IsSourceFullyDrained
359
- */
360
- isSourceFullyDrained(input: IsSourceFullyDrainedRequest, options?: RpcOptions): UnaryCall<IsSourceFullyDrainedRequest, IsSourceFullyDrainedResponse>;
361
- /**
362
- * SourceRemoveTombstone lifts the source group's tombstone, restoring
363
- * the group to service. It is the rollback path, valid only while
364
- * rollback to the source is still safe — before cutover, or after a
365
- * transfer that never cut over. The coordinator must not call it once
366
- * the destination has been opened: the retired source must then be
367
- * retired with SourceDelete, never reopened, so the source and
368
- * destination can never both serve the group. Idempotent: removing a
369
- * tombstone that does not exist returns success.
370
- *
371
- * @generated from protobuf rpc: SourceRemoveTombstone
372
- */
373
- sourceRemoveTombstone(input: SourceRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<SourceRemoveTombstoneRequest, SourceRemoveTombstoneResponse>;
374
- /**
375
- * SourceTransferOut exports the group without mutating it. When the export
376
- * completes synchronously, the response has SUCCESS and a payload. When it
377
- * continues asynchronously, the response has REQUEST_STARTED and no payload.
378
- * The coordinator then polls IsSourceTransferOutDone.
379
- *
380
- * @generated from protobuf rpc: SourceTransferOut
381
- */
382
- sourceTransferOut(input: SourceTransferOutRequest, options?: RpcOptions): UnaryCall<SourceTransferOutRequest, SourceTransferOutResponse>;
383
- /**
384
- * IsSourceTransferOutDone reports the export state after a prior
385
- * SourceTransferOut returned REQUEST_STARTED.
386
- *
387
- * @generated from protobuf rpc: IsSourceTransferOutDone
388
- */
389
- isSourceTransferOutDone(input: TransferStatusRequest, options?: RpcOptions): UnaryCall<TransferStatusRequest, SourceTransferOutResponse>;
390
- /**
391
- * DestinationTransferIn registers the group from a SourceTransferOut
392
- * payload. A SUCCESS response means the import is complete. A
393
- * REQUEST_STARTED response means the import continues asynchronously. The
394
- * coordinator then polls IsDestinationTransferInDone.
395
- *
396
- * @generated from protobuf rpc: DestinationTransferIn
397
- */
398
- destinationTransferIn(input: DestinationTransferInRequest, options?: RpcOptions): UnaryCall<DestinationTransferInRequest, DestinationTransferInResponse>;
399
- /**
400
- * IsDestinationTransferInDone reports the import state after a prior
401
- * DestinationTransferIn returned REQUEST_STARTED.
402
- *
403
- * @generated from protobuf rpc: IsDestinationTransferInDone
404
- */
405
- isDestinationTransferInDone(input: TransferStatusRequest, options?: RpcOptions): UnaryCall<TransferStatusRequest, DestinationTransferInResponse>;
406
- /**
407
- * DestinationAddTombstone re-blocks an imported group without deleting
408
- * what was imported. It is the forward-recovery primitive for partial
409
- * activation: if DestinationRemoveTombstone succeeds on some services
410
- * but not all, the coordinator re-tombstones the opened ones and retries
411
- * removal, rather than aborting (which would delete writes the opened
412
- * services already accepted). Idempotent: re-tombstoning extends the
413
- * expiry.
414
- *
415
- * @generated from protobuf rpc: DestinationAddTombstone
416
- */
417
- destinationAddTombstone(input: DestinationAddTombstoneRequest, options?: RpcOptions): UnaryCall<DestinationAddTombstoneRequest, DestinationAddTombstoneResponse>;
418
- /**
419
- * DestinationRemoveTombstone lifts the imported group's tombstone on
420
- * the destination cell, opening it for traffic after cutover.
421
- * Idempotent: removing a tombstone that does not exist returns success.
422
- * The arrival tombstone also expires on its own ttl, so a coordinator
423
- * that dies after cutover but before removal cannot leave the group
424
- * permanently blocked.
425
- *
426
- * @generated from protobuf rpc: DestinationRemoveTombstone
427
- */
428
- destinationRemoveTombstone(input: DestinationRemoveTombstoneRequest, options?: RpcOptions): UnaryCall<DestinationRemoveTombstoneRequest, DestinationRemoveTombstoneResponse>;
429
- /**
430
- * SourceAbort abandons a failed transfer on the source cell: the
431
- * service discards any in-progress export state and staged artifacts
432
- * belonging to this transfer. It never touches the group's own data —
433
- * SourceRemoveTombstone separately restores the group to service.
434
- * Idempotent: aborting a transfer with no state returns SUCCESS.
435
- *
436
- * @generated from protobuf rpc: SourceAbort
437
- */
438
- sourceAbort(input: SourceAbortRequest, options?: RpcOptions): UnaryCall<SourceAbortRequest, SourceAbortResponse>;
439
- /**
440
- * DestinationAbort abandons a failed transfer on the destination cell,
441
- * valid only before any DestinationRemoveTombstone has opened the group:
442
- * the service deletes whatever this transfer imported — data registered
443
- * under this transfer_id and its arrival tombstone — restoring the
444
- * destination to its pre-transfer state. Once the group has been opened
445
- * it may hold new writes, so recovery is forward via DestinationAddTombstone,
446
- * never DestinationAbort. It never touches state that predates the
447
- * transfer or belongs to another transfer. Idempotent: aborting a
448
- * transfer that imported nothing returns SUCCESS.
449
- *
450
- * @generated from protobuf rpc: DestinationAbort
451
- */
452
- destinationAbort(input: DestinationAbortRequest, options?: RpcOptions): UnaryCall<DestinationAbortRequest, DestinationAbortResponse>;
453
- /**
454
- * SourceCleanUpTransferData deletes whatever artifacts the service
455
- * staged for one transfer operation (staged exports, temporary
456
- * objects) — never the group's own data. Called after cutover, or when
457
- * a transfer is abandoned. Idempotent: a transfer with nothing staged
458
- * returns SUCCESS.
459
- *
460
- * @generated from protobuf rpc: SourceCleanUpTransferData
461
- */
462
- sourceCleanUpTransferData(input: SourceCleanUpTransferDataRequest, options?: RpcOptions): UnaryCall<SourceCleanUpTransferDataRequest, SourceCleanUpTransferDataResponse>;
463
- /**
464
- * SourceDelete permanently retires the source copy: the group can never
465
- * be placed or served on this cell again. The coordinator calls it only
466
- * after a verified cutover; there is no undo. Idempotent: an already
467
- * retired group returns SUCCESS.
468
- *
469
- * A service may delete source indexes and metadata during retirement, but
470
- * backing data referenced by the destination must remain readable. For
471
- * example, jetplane can delete source manifest indexes and member rows, but
472
- * must retain blocks referenced by the destination's copied manifests.
473
- *
474
- * @generated from protobuf rpc: SourceDelete
475
- */
476
- sourceDelete(input: SourceDeleteRequest, options?: RpcOptions): UnaryCall<SourceDeleteRequest, SourceDeleteResponse>;
477
154
  }
@@ -97,196 +97,4 @@ export class TransferResourceGroupClient {
97
97
  const method = this.methods[7], opt = this._transport.mergeOptions(options);
98
98
  return stackIntercept("unary", this._transport, method, opt, input);
99
99
  }
100
- // Legacy methods below remain unchanged until all participants migrate.
101
- // Their inline payloads and polling do not apply to
102
- // Src*/Dst*.
103
- /**
104
- * SourceStopAndDrain blocks the resource group on the source cell for
105
- * the duration of a transfer and starts quiescing it. SUCCESS means the
106
- * group now rejects new writes and placement AND that a stop has been
107
- * submitted for every member; it does NOT mean in-flight mutations have
108
- * finished. The call returns promptly rather than waiting out arbitrarily
109
- * long shutdowns, so it never outlives a coordinator activity timeout.
110
- * The coordinator MUST poll IsSourceFullyDrained (exponential backoff)
111
- * and wait for fully_drained before SourceTransferOut; only then is the
112
- * snapshot guaranteed to observe every mutation that ever committed on
113
- * the source, so cutover cannot silently drop a late write. The group
114
- * stays blocked until SourceRemoveTombstone or until the tombstone
115
- * expires. Expiry is the disaster backstop that unbricks a group when the
116
- * coordinator dies: the coordinator supplies the ttl, comfortably longer
117
- * than its maximum workflow duration so a live transfer never lapses.
118
- * Idempotent: re-tombstoning an already tombstoned group extends the
119
- * expiry and re-submits the stop.
120
- *
121
- * @generated from protobuf rpc: SourceStopAndDrain
122
- */
123
- sourceStopAndDrain(input, options) {
124
- const method = this.methods[8], opt = this._transport.mergeOptions(options);
125
- return stackIntercept("unary", this._transport, method, opt, input);
126
- }
127
- /**
128
- * IsSourceFullyDrained reports whether every mutation admitted before the
129
- * tombstone has committed or can no longer commit. It is the
130
- * authoritative quiescence signal and a precondition the coordinator
131
- * polls after SourceStopAndDrain returns SUCCESS and before
132
- * SourceTransferOut. fully_drained reads false while any member workload
133
- * is still terminating or a create admitted before the fence has not yet
134
- * settled, and stays false whenever the group is not fenced by an active
135
- * source transfer. Read-only: does not mutate the group or its tombstone.
136
- *
137
- * @generated from protobuf rpc: IsSourceFullyDrained
138
- */
139
- isSourceFullyDrained(input, options) {
140
- const method = this.methods[9], opt = this._transport.mergeOptions(options);
141
- return stackIntercept("unary", this._transport, method, opt, input);
142
- }
143
- /**
144
- * SourceRemoveTombstone lifts the source group's tombstone, restoring
145
- * the group to service. It is the rollback path, valid only while
146
- * rollback to the source is still safe — before cutover, or after a
147
- * transfer that never cut over. The coordinator must not call it once
148
- * the destination has been opened: the retired source must then be
149
- * retired with SourceDelete, never reopened, so the source and
150
- * destination can never both serve the group. Idempotent: removing a
151
- * tombstone that does not exist returns success.
152
- *
153
- * @generated from protobuf rpc: SourceRemoveTombstone
154
- */
155
- sourceRemoveTombstone(input, options) {
156
- const method = this.methods[10], opt = this._transport.mergeOptions(options);
157
- return stackIntercept("unary", this._transport, method, opt, input);
158
- }
159
- /**
160
- * SourceTransferOut exports the group without mutating it. When the export
161
- * completes synchronously, the response has SUCCESS and a payload. When it
162
- * continues asynchronously, the response has REQUEST_STARTED and no payload.
163
- * The coordinator then polls IsSourceTransferOutDone.
164
- *
165
- * @generated from protobuf rpc: SourceTransferOut
166
- */
167
- sourceTransferOut(input, options) {
168
- const method = this.methods[11], opt = this._transport.mergeOptions(options);
169
- return stackIntercept("unary", this._transport, method, opt, input);
170
- }
171
- /**
172
- * IsSourceTransferOutDone reports the export state after a prior
173
- * SourceTransferOut returned REQUEST_STARTED.
174
- *
175
- * @generated from protobuf rpc: IsSourceTransferOutDone
176
- */
177
- isSourceTransferOutDone(input, options) {
178
- const method = this.methods[12], opt = this._transport.mergeOptions(options);
179
- return stackIntercept("unary", this._transport, method, opt, input);
180
- }
181
- /**
182
- * DestinationTransferIn registers the group from a SourceTransferOut
183
- * payload. A SUCCESS response means the import is complete. A
184
- * REQUEST_STARTED response means the import continues asynchronously. The
185
- * coordinator then polls IsDestinationTransferInDone.
186
- *
187
- * @generated from protobuf rpc: DestinationTransferIn
188
- */
189
- destinationTransferIn(input, options) {
190
- const method = this.methods[13], opt = this._transport.mergeOptions(options);
191
- return stackIntercept("unary", this._transport, method, opt, input);
192
- }
193
- /**
194
- * IsDestinationTransferInDone reports the import state after a prior
195
- * DestinationTransferIn returned REQUEST_STARTED.
196
- *
197
- * @generated from protobuf rpc: IsDestinationTransferInDone
198
- */
199
- isDestinationTransferInDone(input, options) {
200
- const method = this.methods[14], opt = this._transport.mergeOptions(options);
201
- return stackIntercept("unary", this._transport, method, opt, input);
202
- }
203
- /**
204
- * DestinationAddTombstone re-blocks an imported group without deleting
205
- * what was imported. It is the forward-recovery primitive for partial
206
- * activation: if DestinationRemoveTombstone succeeds on some services
207
- * but not all, the coordinator re-tombstones the opened ones and retries
208
- * removal, rather than aborting (which would delete writes the opened
209
- * services already accepted). Idempotent: re-tombstoning extends the
210
- * expiry.
211
- *
212
- * @generated from protobuf rpc: DestinationAddTombstone
213
- */
214
- destinationAddTombstone(input, options) {
215
- const method = this.methods[15], opt = this._transport.mergeOptions(options);
216
- return stackIntercept("unary", this._transport, method, opt, input);
217
- }
218
- /**
219
- * DestinationRemoveTombstone lifts the imported group's tombstone on
220
- * the destination cell, opening it for traffic after cutover.
221
- * Idempotent: removing a tombstone that does not exist returns success.
222
- * The arrival tombstone also expires on its own ttl, so a coordinator
223
- * that dies after cutover but before removal cannot leave the group
224
- * permanently blocked.
225
- *
226
- * @generated from protobuf rpc: DestinationRemoveTombstone
227
- */
228
- destinationRemoveTombstone(input, options) {
229
- const method = this.methods[16], opt = this._transport.mergeOptions(options);
230
- return stackIntercept("unary", this._transport, method, opt, input);
231
- }
232
- /**
233
- * SourceAbort abandons a failed transfer on the source cell: the
234
- * service discards any in-progress export state and staged artifacts
235
- * belonging to this transfer. It never touches the group's own data —
236
- * SourceRemoveTombstone separately restores the group to service.
237
- * Idempotent: aborting a transfer with no state returns SUCCESS.
238
- *
239
- * @generated from protobuf rpc: SourceAbort
240
- */
241
- sourceAbort(input, options) {
242
- const method = this.methods[17], opt = this._transport.mergeOptions(options);
243
- return stackIntercept("unary", this._transport, method, opt, input);
244
- }
245
- /**
246
- * DestinationAbort abandons a failed transfer on the destination cell,
247
- * valid only before any DestinationRemoveTombstone has opened the group:
248
- * the service deletes whatever this transfer imported — data registered
249
- * under this transfer_id and its arrival tombstone — restoring the
250
- * destination to its pre-transfer state. Once the group has been opened
251
- * it may hold new writes, so recovery is forward via DestinationAddTombstone,
252
- * never DestinationAbort. It never touches state that predates the
253
- * transfer or belongs to another transfer. Idempotent: aborting a
254
- * transfer that imported nothing returns SUCCESS.
255
- *
256
- * @generated from protobuf rpc: DestinationAbort
257
- */
258
- destinationAbort(input, options) {
259
- const method = this.methods[18], opt = this._transport.mergeOptions(options);
260
- return stackIntercept("unary", this._transport, method, opt, input);
261
- }
262
- /**
263
- * SourceCleanUpTransferData deletes whatever artifacts the service
264
- * staged for one transfer operation (staged exports, temporary
265
- * objects) — never the group's own data. Called after cutover, or when
266
- * a transfer is abandoned. Idempotent: a transfer with nothing staged
267
- * returns SUCCESS.
268
- *
269
- * @generated from protobuf rpc: SourceCleanUpTransferData
270
- */
271
- sourceCleanUpTransferData(input, options) {
272
- const method = this.methods[19], opt = this._transport.mergeOptions(options);
273
- return stackIntercept("unary", this._transport, method, opt, input);
274
- }
275
- /**
276
- * SourceDelete permanently retires the source copy: the group can never
277
- * be placed or served on this cell again. The coordinator calls it only
278
- * after a verified cutover; there is no undo. Idempotent: an already
279
- * retired group returns SUCCESS.
280
- *
281
- * A service may delete source indexes and metadata during retirement, but
282
- * backing data referenced by the destination must remain readable. For
283
- * example, jetplane can delete source manifest indexes and member rows, but
284
- * must retain blocks referenced by the destination's copied manifests.
285
- *
286
- * @generated from protobuf rpc: SourceDelete
287
- */
288
- sourceDelete(input, options) {
289
- const method = this.methods[20], opt = this._transport.mergeOptions(options);
290
- return stackIntercept("unary", this._transport, method, opt, input);
291
- }
292
100
  }