@replit/protocol 0.5.0 → 0.6.1

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