RDBC-1079 + RDBC-1076: Revisions Operations and Pull Replication#300
Merged
poissoncorp merged 5 commits intoJun 25, 2026
Merged
Conversation
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.
94b21e0 to
54479b7
Compare
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.
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits, one per ticket (ported from the C# client v7.2, verified against a licensed RavenDB 7.2 server with
python -m unittest):EnforceRevisionsConfigurationOperation,AdoptOrphanedRevisionsOperation,DeleteRevisionsOperation,RevertRevisionsByIdOperation,ConfigureRevisionsBinCleanerOperation, server-wideConfigureRevisionsForConflictsOperation, plus supporting models.ReplicationHubNotFoundException.Both wire top-level exports and add
TestBasetests.