Skip to content

RDBC-1079 + RDBC-1076: Revisions Operations and Pull Replication#3

Closed
poissoncorp wants to merge 2 commits into
RDBC-1068-ai-config-fixesfrom
RDBC-1076-1079-pull-replication-and-revisions
Closed

RDBC-1079 + RDBC-1076: Revisions Operations and Pull Replication#3
poissoncorp wants to merge 2 commits into
RDBC-1068-ai-config-fixesfrom
RDBC-1076-1079-pull-replication-and-revisions

Conversation

@poissoncorp

Copy link
Copy Markdown
Owner

Two commits, one per ticket (ported from the C# client v7.2, verified against a licensed RavenDB 7.2 server):

  • RDBC-1079 Revisions OperationsEnforceRevisionsConfigurationOperation, AdoptOrphanedRevisionsOperation, DeleteRevisionsOperation, RevertRevisionsByIdOperation, ConfigureRevisionsBinCleanerOperation, server-wide ConfigureRevisionsForConflictsOperation, plus supporting models.
  • RDBC-1076 Pull Replication — hub/sink/external-replication and hub-access (register/unregister/get) operations, read-side pull-replication task info, supporting models/enums and ReplicationHubNotFoundException.

Both wire top-level exports and add TestBase tests.

Add the missing revisions operations, ported from the C# client (v7.2):

- EnforceRevisionsConfigurationOperation (IOperation<OperationIdResult>)
- AdoptOrphanedRevisionsOperation (IOperation<OperationIdResult>)
- DeleteRevisionsOperation (by id / date range / change vectors)
- RevertRevisionsByIdOperation
- ConfigureRevisionsBinCleanerOperation (+ RevisionsBinConfiguration)
- ConfigureRevisionsForConflictsOperation (server-wide)
- Supporting types: RevisionsOperationParameters,
  RevisionsOperationContinuationParameters, result classes

Surface the full revisions operations set from the top-level ravendb
package and add real-DB tests for each operation.
Port the Pull Replication client API from the C# client (v7.2): hub, sink,
external-replication and hub-access (register/unregister/get) operations,
read-side task info, supporting models/enums and ReplicationHubNotFoundException.
Replaces the empty stubs in replication/definitions.py, adds top-level exports
and TestBase tests verified against a licensed 7.2 server.
@poissoncorp

Copy link
Copy Markdown
Owner Author

Superseded by the upstream PR ravendb#300 (targets ravendb:v7.2, where CI runs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant