Skip to content

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

Merged
poissoncorp merged 5 commits into
ravendb:v7.2from
poissoncorp:RDBC-1076-1079-revisions-and-pull-replication-v72
Jun 25, 2026
Merged

RDBC-1079 + RDBC-1076: Revisions Operations and Pull Replication#300
poissoncorp merged 5 commits into
ravendb:v7.2from
poissoncorp:RDBC-1076-1079-revisions-and-pull-replication-v72

Conversation

@poissoncorp

Copy link
Copy Markdown
Contributor

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

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

Port the missing revisions operations from the C# client (v7.2):
EnforceRevisionsConfigurationOperation, AdoptOrphanedRevisionsOperation,
DeleteRevisionsOperation, RevertRevisionsByIdOperation,
ConfigureRevisionsBinCleanerOperation, and the server-wide
ConfigureRevisionsForConflictsOperation, plus supporting models. Wires
top-level exports and adds TestBase tests verified against a licensed 7.2 server.
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 pull-replication task info, supporting models/enums and
ReplicationHubNotFoundException. Wires top-level exports and adds TestBase tests
(incl. secured, certificate-based coverage) verified against a licensed 7.2
server. License-gated tests use the repo RAVENDB_LICENSE skipIf (skip on CI).
Silence the subscription worker reporting expected connection drops on teardown
so test output stays readable.
@poissoncorp poissoncorp force-pushed the RDBC-1076-1079-revisions-and-pull-replication-v72 branch from 94b21e0 to 54479b7 Compare June 24, 2026 23:43
Use ssl.PROTOCOL_TLS_CLIENT and explicitly disable CA verification and hostname
checking, preserving the existing exact-certificate-pinning behavior. Verified
against a real secured server (secured subscription tests pass).
CmpXchg.value emits a DeprecationWarning; RavenDocumentQuery.cmp_xchg() builds
the same query function without it.
@poissoncorp poissoncorp merged commit ddfa9ec into ravendb:v7.2 Jun 25, 2026
5 checks passed
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