Skip to content

Conversation

@koujl
Copy link
Contributor

@koujl koujl commented Dec 30, 2025

v1_ShardInfo should have the same byte alignment as ShardInfo struct.

@zhiteng zhiteng requested a review from Copilot December 30, 2025 03:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a memory layout issue with the v1_ShardInfo struct by moving it outside of the #pragma pack(1) directive to ensure proper byte alignment matching the current ShardInfo struct. The version is bumped from 4.0.7 to 4.0.8 to reflect this bugfix.

  • Relocated v1_ShardInfo struct definition to before #pragma pack(1) directive
  • Version bumped to 4.0.8

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/lib/homestore_backend/hs_homeobject.hpp Moved v1_ShardInfo struct outside pragma pack(1) section to fix byte alignment
conanfile.py Bumped version from 4.0.7 to 4.0.8

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

koujl and others added 2 commits December 30, 2025 14:25
Add empty interface methods as per HomeStore 7.1.0.

(cherry picked from commit 60152e0)
v1_ShardInfo should have the same byte alignment as ShardInfo struct.
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (v4@12d6ffa). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...ib/homestore_backend/replication_state_machine.cpp 0.00% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff          @@
##             v4     #382   +/-   ##
=====================================
  Coverage      ?   58.96%           
=====================================
  Files         ?       35           
  Lines         ?     4664           
  Branches      ?      581           
=====================================
  Hits          ?     2750           
  Misses        ?     1626           
  Partials      ?      288           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@koujl koujl marked this pull request as ready for review December 30, 2025 09:02
@xiaoxichen
Copy link
Collaborator

has the ut failed?

Copy link
Contributor

@yuwmao yuwmao left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@zhiteng zhiteng 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

Copy link
Collaborator

@JacksonYao287 JacksonYao287 left a comment

Choose a reason for hiding this comment

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

LG

@xiaoxichen xiaoxichen merged commit 2e63ecf into eBay:v4 Jan 4, 2026
70 of 72 checks passed
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.

6 participants