Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Rename AccountsDb plugins to Geyser plugins #23604

Merged
merged 1 commit into from
Mar 15, 2022

Conversation

CriesofCarrots
Copy link
Contributor

Problem

The name "AccountsDb Plugin" isn't accurate for the implementation, since plugins can now stream blocks and transactions in addition to accounts.

Summary of Changes

Rename to the generic term geyser
Currently doc references to the solana-accountsdb-plugin-postgres repository have been left unchanged, to be updated when that repo is renamed

@CriesofCarrots CriesofCarrots marked this pull request as ready for review March 11, 2022 16:53
@CriesofCarrots
Copy link
Contributor Author

Rebasing due to toml sort changes just merged, but passed CI previously

@CriesofCarrots CriesofCarrots force-pushed the geyser branch 2 times, most recently from 1fb3504 to 626f8ec Compare March 11, 2022 17:52
Copy link
Contributor

@lijunwangs lijunwangs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good -- just a couple of nits

@CriesofCarrots CriesofCarrots force-pushed the geyser branch 2 times, most recently from 0c294a6 to 0bf8aea Compare March 12, 2022 01:01
lijunwangs
lijunwangs previously approved these changes Mar 12, 2022
Copy link
Contributor

@lijunwangs lijunwangs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

t-nelson
t-nelson previously approved these changes Mar 12, 2022
Copy link
Contributor

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes here lgtm! The rollout is the main open question.

Tyera and I discussed at lunch and it seems least intrusive if we can release the last version of the solana-accountsdb-plugin-interface and the first version of the solana-geyser-plugin-interface with an otherwise unchanged API/ABI/behavior set. So the steps are basically...

  1. land imminent additions to solana-accountsdb-plugin-interface
  2. publish crate (in-band?)
  3. merge this PR
  4. publish crate (out-of-band?)
  5. (opt?) publish a final out-of-band solana-accountsdb-plugin-interface crate with all public symbols marked deprecated

how does this sound to you @lijunwangs?

@mergify mergify bot dismissed stale reviews from t-nelson and lijunwangs March 14, 2022 21:33

Pull request has been modified.

@CriesofCarrots CriesofCarrots merged commit 102dd68 into solana-labs:master Mar 15, 2022
mergify bot pushed a commit that referenced this pull request Mar 15, 2022
(cherry picked from commit 102dd68)

# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	core/Cargo.toml
#	core/src/replay_stage.rs
#	core/src/tvu.rs
#	geyser-plugin-interface/Cargo.toml
#	geyser-plugin-manager/Cargo.toml
#	geyser-plugin-manager/src/geyser_plugin_service.rs
#	geyser-plugin-manager/src/slot_status_notifier.rs
#	validator/src/bin/solana-test-validator.rs
#	validator/src/main.rs
@CriesofCarrots
Copy link
Contributor Author

I'm gonna try the auto-backport. We'll see how it goes

mergify bot added a commit that referenced this pull request Mar 15, 2022
* Rename AccountsDb plugins to Geyser plugins (#23604)

(cherry picked from commit 102dd68)

# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	core/Cargo.toml
#	core/src/replay_stage.rs
#	core/src/tvu.rs
#	geyser-plugin-interface/Cargo.toml
#	geyser-plugin-manager/Cargo.toml
#	geyser-plugin-manager/src/geyser_plugin_service.rs
#	geyser-plugin-manager/src/slot_status_notifier.rs
#	validator/src/bin/solana-test-validator.rs
#	validator/src/main.rs

* Fix conflicts

Co-authored-by: Tyera Eulberg <tyera@solana.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants