C-API fdb_setup_network get "1510: Disk i/o operation failed" without trace log
- Dominant language
- C++
- Stars
- 16.7k
- Forks
- 1.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 126
Description
## Background
I want to record the c-api's client trace file when there is an error happened, but fdb-client didn't record the error trace log when error happend.
## Environment
fdb-verion : `7.1.9`
os : `ubuntu 20.04`
## How to reproduce
1. keep environment clean and only start a fdbserver process.
2. adjust os config `aio-max-nr` to reproduce fdb-client's io-error
```shell
# cat /proc/sys/fs/aio-max-nr
65536
# echo 256 > /proc/sys/fs/aio-max-nr
```
3. startup three fdbcli and keep connect, and you will see `aio-nr` have arrived limited 256.
4. startup last fdbcli with trace-log : `fdbcli --log --knob-min_trace_severity=10`. You will see io-error which throwed by `fdb_setup_network` api's `AsyncFileKAIO::init` function.
After that, there is no trace-log at current directory.
So @sfc-gh-ajbeamon , please take a simple look if this is a problem ?
Contributor guide
Assessment
This issue has not been assessed yet.