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

HPCC-30361 watchdog SocketEndpoint serialization fix #17819

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions thorlcr/shared/thwatchdog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@
struct HeartBeatPacketHeader
{
public:
// NB: packetSize and progressSize are back-patched and must remain at fixed offsets from the start of this struct
size32_t packetSize = 0; // used as validity check must be first
SocketEndpoint sender;
unsigned tick = 0; // sequence check
size32_t progressSize = 0; // size of progress data (following performance data)

unsigned tick = 0; // sequence check
SocketEndpoint sender;

public:
void serialize(MemoryBuffer & out) const
{
Expand Down
Loading