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
[bookie-server-config] Avoid considering empty journalDirectories #2245
Conversation
ping |
Why github actions did not trigger? |
trying to close/repone in order to trigger CI |
run pr validation |
3230dfa
to
40e77d3
Compare
There is no change for |
fixed in #2258 |
40e77d3
to
fe0ed7d
Compare
can we please retrigger the failed jobs. |
Are you able to check the results of github actions? |
@sijie |
I can't trigger integration test failure with github action because I am not committer. So, is there any other way I can trigger this specific job? or can someone trigger it? |
@rdhabalia can you please tell about this problem on dev@ list ? Meanwhile I will take care of kicking CI. Are integration tests passing on your machine? |
@eolivelli @rdhabalia Github actions doesn't allow people without write permissions to trigger the actions. Even ASF has started disabling trigger phrases for Jenkins as well. I understand it is inconvenient for contributors. we can look into solutions to address them. However, I think we have replied on trigger phrases too much in the past. These trigger phrases hide the problems in tests. We should start looking into how to make these tests reliable. |
@rdhabalia I have retriggered the integration tests suite. |
thanks @eolivelli , hopefully it passes once we retrigger the job again.. please let me know if you want me to rebase it with latest master changes. |
can we retrigger this job.. |
Merging as soon as tests pass |
It failed again |
@rdhabalia can you please take a look ? |
All tests passed. thank you @rdhabalia |
@eolivelli |
You did it well. Usually it is better to not self merge your own issues and let another fellow commiter to merge your patches. But there is no such strict rule it it only about community working. The rules are: each patch must have two supporting committers. If the contributor is a committer you just only need another approval. For big changes or changes to the public API we use to issue a BP (Bookkeeper Proposal) and discuss it before discussing the implementation. It is good to have you on board! |
I see..thank you for sharing the info.. |
As discussed at : apache/pulsar#6042 ### Issue We have config management tool which manages bookie-server configuration and sets empty value of `journalDirectories` if bookie-server is still wants to use single journal dir: `journalDirectory`. In this case, bookie-server doesn't consider `journalDirectory` value and keeps empty list of `journalDirectories` which stats bookie with invalid configuration. ### Expected behavior Bookie-server should parse empty configuration `journalDirectories=` properly and avoid picking up empty value of `journalDirectories` and in that case, bookie-server should fallback to `journalDirectory` config. Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Sijie Guo <None> This closes apache#2245 from rdhabalia/journal_dir
As discussed at : apache/pulsar#6042
Issue
We have config management tool which manages bookie-server configuration and sets empty value of
journalDirectories
if bookie-server is still wants to use single journal dir:journalDirectory
. In this case, bookie-server doesn't considerjournalDirectory
value and keeps empty list ofjournalDirectories
which stats bookie with invalid configuration.Expected behavior
Bookie-server should parse empty configuration
journalDirectories=
properly and avoid picking up empty value ofjournalDirectories
and in that case, bookie-server should fallback tojournalDirectory
config.