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

Reporting offchain data gap detection #102

Merged
merged 12 commits into from
Jul 16, 2024
Merged

Reporting offchain data gap detection #102

merged 12 commits into from
Jul 16, 2024

Conversation

begmaroman
Copy link
Contributor

No description provided.

@begmaroman begmaroman requested a review from a team as a code owner July 4, 2024 12:04
@begmaroman begmaroman self-assigned this Jul 4, 2024
ALTER TABLE data_node.offchain_data DROP COLUMN IF EXISTS batch_num;

-- +migrate Up
ALTER TABLE data_node.offchain_data
ADD COLUMN IF NOT EXISTS batch_num BIGINT NOT NULL DEFAULT 0;

-- Ensure batch_num is indexed for optimal performance
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Decided to modify an existing migration since it was added in the previous PR and was not deployed anywhere yet. It should be ok in this particular case.

db/db.go Outdated Show resolved Hide resolved
@begmaroman begmaroman requested review from Stefan-Ethernal and a team July 15, 2024 19:47
synchronizer/batches.go Outdated Show resolved Hide resolved
synchronizer/batches.go Outdated Show resolved Hide resolved
synchronizer/batches.go Show resolved Hide resolved
db/migrations/0005.sql Outdated Show resolved Hide resolved
Copy link
Collaborator

@vcastellm vcastellm left a comment

Choose a reason for hiding this comment

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

LGTM aside from the comments

Copy link

sonarcloud bot commented Jul 16, 2024

@begmaroman begmaroman merged commit d1534fc into main Jul 16, 2024
8 of 9 checks passed
@begmaroman begmaroman deleted the feature/CDK-338-2 branch July 16, 2024 08:35
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.

4 participants