hamakh12
(Muhammad Khalil)
December 6, 2021, 12:26pm
1
I’m running foudationDB version 6.2.25 on Linux. I want to enable DR for my main cluster servers, but whenever I use fdbdr
command I get the following with every action start
, status
, and abort
even with a fresh install of fdb!
Trace: addr2line -e fdbdr.debug -p -C -f -i 0xa9a655 0x7f2d5617bb20 0x65835b 0x65c214 0x4f9998 0x5eeaef 0x917698 0x8494c8 0x84976f 0x846868 0x846b3d 0x84b4e0 0x8c22b8 0x87b7fc 0x87b90f 0x868ac8 0x866a18 0x866bcd 0x880d58 0x7d3228 0x7ec27b 0x9fd40b 0x9fd505 0x4f9900 0xaf5840 0x841712 0x4b3573 0x7f2d5583d493
Segmentation fault (core dumped)
ajbeamon
(A.J. Beamon)
December 6, 2021, 3:41pm
2
What’s the full command you are using to run it? I know of one crash that’s since been fixed that can happen if the arguments aren’t correct.
apple:master
← sfc-gh-ajbeamon:fix-fdbdr-crash
opened 07:56PM - 20 Aug 21 UTC
Also updates the usage text for dr_agent cluster files to include the long form … options.
Tested by running the commands manually and verifying the correct error message appeared and that the usage text looked correct.
Also passed 10K correctness.
# Code-Reviewer Section
The general guidelines can be found [here](https://github.com/apple/foundationdb/wiki/FoundationDB-Commit-Process).
Please check each of the following things and check *all* boxes before accepting a PR.
- [ ] The PR has a description, explaining both the problem and the solution.
- [ ] The description mentions which forms of testing were done and the testing seems reasonable.
- [ ] Every function/class/actor that was touched is reasonably well documented.
hamakh12
(Muhammad Khalil)
December 7, 2021, 6:36am
3
the problem was I wasn’t passing the arguments -s and -d, I thought it’s unnecessary for fdbdr status
. but now after passing these everything works fine.
thanks,