Skip to content

feat: support more describe log dirs versions (V2-V4)#3293

Merged
dnwe merged 2 commits intoIBM:mainfrom
hindessm:more-log-dirs-support
Sep 17, 2025
Merged

feat: support more describe log dirs versions (V2-V4)#3293
dnwe merged 2 commits intoIBM:mainfrom
hindessm:more-log-dirs-support

Conversation

@hindessm
Copy link
Copy Markdown
Collaborator

@hindessm hindessm commented Sep 15, 2025

Version 2 is the first flexible version.
Version 3 adds the top-level ErrorCode field
Version 4 adds the TotalBytes and UsableBytes fields

@dnwe dnwe changed the title feat: support more describe log dirs versions feat: support more describe log dirs versions (V2-V4) Sep 16, 2025
@dnwe dnwe added the feat label Sep 16, 2025
@dnwe
Copy link
Copy Markdown
Collaborator

dnwe commented Sep 16, 2025

@hindessm thanks! I added a simple FV to PR just to exercise it across the kafka versions within GHA

if err := pe.putCompactInt32Array(d.PartitionIDs); err != nil {
return err
}
if isFlexible {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This test is already known to be true, because we’re in an if isFlexible conditional.

@hindessm hindessm force-pushed the more-log-dirs-support branch from 8a4d2d1 to 7104470 Compare September 16, 2025 12:27
hindessm and others added 2 commits September 16, 2025 13:27
Exercise the new protocol in the FV

Signed-off-by: Dominic Evans <[email protected]>
@hindessm hindessm force-pushed the more-log-dirs-support branch from 7104470 to e93be72 Compare September 16, 2025 12:27
Copy link
Copy Markdown
Collaborator

@dnwe dnwe left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM now

@dnwe dnwe merged commit 020be9c into IBM:main Sep 17, 2025
17 checks passed
@hindessm hindessm deleted the more-log-dirs-support branch September 25, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants