Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abci: Add relaxed local client synchronization models (backport #1141) #2

Closed

Conversation

yihuang
Copy link
Collaborator

@yihuang yihuang commented Oct 23, 2024

  • proxy: Remove "unsynchronized" local client creator

  • proxy: Expand client creator interface

Expand the ClientCreator interface to allow the caller to explicitly specify the "connection" whose client they are creating. This potentially gives greater control over the concurrency model employed in each type of connection.

  • abci/client: Clarify NewLocalClient description

  • proxy: Add connection-synchronized local client creator

Analogous to the old "unsynchronized" local client creator.

  • abci/client: Add unsynchronized local client

  • proxy: Add consensus-synchronized local client creator

  • proxy: Fix mock configuration in test

  • Add changelog entries

  • Remove changelog entry - no longer necessary

  • proxy: Add unsynchronized local client creator

  • changelog: Add entry for unsync local client creator

  • Update 1141-abci-unsync-proxy.md



PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

* proxy: Remove "unsynchronized" local client creator

Signed-off-by: Thane Thomson <[email protected]>

* proxy: Expand client creator interface

Expand the `ClientCreator` interface to allow the caller to explicitly
specify the "connection" whose client they are creating. This
potentially gives greater control over the concurrency model employed in
each type of connection.

Signed-off-by: Thane Thomson <[email protected]>

* abci/client: Clarify NewLocalClient description

Signed-off-by: Thane Thomson <[email protected]>

* proxy: Add connection-synchronized local client creator

Analogous to the old "unsynchronized" local client creator.

Signed-off-by: Thane Thomson <[email protected]>

* abci/client: Add unsynchronized local client

Signed-off-by: Thane Thomson <[email protected]>

* proxy: Add consensus-synchronized local client creator

Signed-off-by: Thane Thomson <[email protected]>

* proxy: Fix mock configuration in test

Signed-off-by: Thane Thomson <[email protected]>

* Add changelog entries

Signed-off-by: Thane Thomson <[email protected]>

* Remove changelog entry - no longer necessary

Signed-off-by: Thane Thomson <[email protected]>

* proxy: Add unsynchronized local client creator

Signed-off-by: Thane Thomson <[email protected]>

* changelog: Add entry for unsync local client creator

Signed-off-by: Thane Thomson <[email protected]>

* Update 1141-abci-unsync-proxy.md

Co-authored-by: Adi Seredinschi <[email protected]>

---------

Signed-off-by: Thane Thomson <[email protected]>
Co-authored-by: Adi Seredinschi <[email protected]>
@yihuang yihuang requested a review from mmsqe October 23, 2024 07:27
@yihuang yihuang marked this pull request as draft October 23, 2024 07:38
@yihuang
Copy link
Collaborator Author

yihuang commented Oct 28, 2024

sdk 0.50 only works with NewConnSyncLocalClientCreator, so probably no need this.

@yihuang yihuang closed this Oct 28, 2024
@yihuang yihuang deleted the backport-unsync-client branch October 28, 2024 02:48
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.

2 participants