Skip to content

Conversation

@cmcfarlen
Copy link
Contributor

PR #9481 changed the alignment on structs that are stored in cache. This breaks the cache.

@cmcfarlen cmcfarlen added the Bug label Mar 18, 2024
@cmcfarlen cmcfarlen added this to the 10.1.0 milestone Mar 18, 2024
@cmcfarlen cmcfarlen self-assigned this Mar 18, 2024
Copy link
Contributor

@bneradt bneradt 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.

Out of curiosity, were there warnings or the like due to the misalignment?

@cmcfarlen
Copy link
Contributor Author

Looks good.

Out of curiosity, were there warnings or the like due to the misalignment?

Release assertions running 10.0.0 with caches created with 9.2

Fatal: ...src/proxy/hdrs/HdrHeap.cc:921: failed assertion `m_writeable == false`

@cmcfarlen cmcfarlen marked this pull request as ready for review March 18, 2024 18:18
@cmcfarlen
Copy link
Contributor Author

I've tested this PR in production and it no longer hits the asserts.

@cmcfarlen cmcfarlen merged commit b4f1fca into apache:master Mar 18, 2024
@cmcfarlen cmcfarlen deleted the restore-cache-struct-alignment branch March 18, 2024 22:33
@cmcfarlen cmcfarlen modified the milestones: 10.1.0, 10.0.0 Mar 19, 2024
@cmcfarlen
Copy link
Contributor Author

Cherry-picked to v10.0.x

cmcfarlen added a commit that referenced this pull request Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: picked-10.0.0

Development

Successfully merging this pull request may close these issues.

2 participants