-
Notifications
You must be signed in to change notification settings - Fork 44
Spoc 398: An attempt to return Spockbench into the game #312
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
Open
danolivo
wants to merge
6
commits into
main
Choose a base branch
from
spoc-398
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+599
−236
Conversation
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
1ed3b02 to
4d85b7b
Compare
- Enable TCP/IP connections (listen_addresses, pg_hba.conf) - Implement sequential startup: n2/n3 depend on n1 health - Use Z0DAN spock.add_node() for n2/n3 cluster joining - Add exception log and conflict resolution tests - Integrate spockbench 3-node testing framework Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Invalidate the cached index information before calling RelationGetReplicaIndex() when temporarily changing relreplident to REPLICA_IDENTITY_DEFAULT. Without this, the cached index from REPLICA_IDENTITY_FULL mode may be incorrectly used. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Cosmetic changes only: - Remove extra blank lines - Consolidate multi-line conditions onto single lines where appropriate - Reformat SQL function declarations for readability Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Docker infrastructure improvements: - Add healthcheck marker file to prevent race conditions during container startup - node is only marked healthy after full Spock initialization completes - Mount tests directory as volume for faster iteration - Use environment variables from .bashrc instead of hardcoded paths - Update spockbench to delta-apply-update branch - Move spockbench installation before PostgreSQL build (needs root) Test script improvements: - Add wait_for_pg() function to check all nodes (local + peers) are ready - Use sync_event/wait_for_sync_event for proper replication synchronization - Simplify psql authentication using trust configuration - Use 'default' repset instead of 'demo_replication_set' - Fix conflict type check: delete_missing instead of delete_delete Configuration changes: - Reduce log verbosity from debug5 to log level - Enable spock.save_resolutions for conflict tracking - Fix DSN strings to include host and port for all nodes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Workflow improvements: - Split workflow into separate steps: build, cluster startup, test execution, log collection, cleanup, regression, and TAP tests - Run spockbench tests on all three nodes (n1, n2, n3) in parallel using background processes with proper PID tracking - Add artifact collection for node logs and spockbench output - Add always-run cleanup step to ensure docker-compose down executes - Remove --build flag from docker compose up to reuse pre-built image (fixes bug where image was rebuilt with default PGVER=17) - Add if: always() to regression and TAP test steps Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
mason-sharp
reviewed
Jan 20, 2026
ibrarahmad
requested changes
Jan 22, 2026
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.
Includes:
I think we should spend one or two more release cycles carefully watching how it behaves due to multiple changes.