-
Couldn't load subscription status.
- Fork 176
Syscall parameter type #4055
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
Closed
Closed
Syscall parameter type #4055
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
8d9e5e2
add notify min broker id change
f2f5836
add notify min broker id change
293924f
Merge remote-tracking branch 'upstream/main' into broker_id_change
5305d54
Merge remote-tracking branch 'upstream/main' into broker_id_change
daad8ef
Broker id Change function external logic implementation
2547c9b
Broker id Change function external logic implementation
79344ea
Broker id Change function external logic implementation
1471dd5
Implementation Notification Broker Id Change Logic
c15c6f3
Implementation Notification Broker Id Change Logic
b0f772a
Implementation Notification Broker Id Change Logic
7851482
Broker id Change function external logic implementation
afdaf8d
Broker id Change function external logic implementation
8a8fce3
Broker id Change function external logic implementation
883d018
Broker id Change function external logic implementation
ae12384
update broker ha info
aef0e5c
Broker id Change function external logic implementation
ec9ab12
fetch code
4f6b8a4
update broker ha info
a9853b6
update logic
ff7327f
update logic
8a10f21
merge
watchgou 2086221
Merge remote-tracking branch 'upstream/main'
watchgou a53fca7
reset master flush offset
watchgou 736c7cd
reset master flush offset
watchgou bb9525e
Merge remote-tracking branch 'upstream/main'
watchgou 974c45e
Merge remote-tracking branch 'upstream/main'
watchgou 1662aa0
Merge remote-tracking branch 'upstream/main'
watchgou eff1404
ffi::c uchar, which does not adapt to macos system, it is recommended to
watchgou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix FFI type for mincore vec: use c_uchar, not c_char (compile error E0308).
libc::mincore expects
vec: *mut c_uchar(aka*mut u8). Passing*mut c_char(*mut i8) causes the current CI failure.Apply this diff:
📝 Committable suggestion
🧰 Tools
🪛 GitHub Actions: CI
[error] 98-98: Command cargo clippy -- -D warnings failed due to compile error: mismatched types in FFI call to libc::mincore. The function expects vec: *mut c_uchar, but vec is passed as *mut c_char in rocketmq-store/src/utils/ffi.rs:98 (E0308).
🪛 GitHub Actions: Codecov
[error] 98-98: Rust compile error: mismatched types in mincore call. expected
*mut u8, found*mut i8for vec parameter inunsafe { libc::mincore(addr as *mut c_void, len, vec as *mut c_char) }at rocketmq-store/src/utils/ffi.rs:98.🤖 Prompt for AI Agents