Open mengranwo opened 3 years ago
Yeah, I believe that that's correct. Barring changes from the FDB core side to remove this requirement, the best we can do might be to update the comments on setThreadsPerClientVersion
to warn people about the necessary configuration: https://github.com/FoundationDB/fdb-record-layer/blob/233a72a51182a1f35b9bad34ac29b127a437a12b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/FDBDatabaseFactoryImpl.java#L234
I'm adding the documentation
label, as I think that's the action item here (at least on this project), but if you think there's some other way the project could handle this, we're open to alternatives
FDB version 6.3 has introduced this new feature called multi-threaded client and seems like the record layer has added support for it. link However, when I was reading through the doc, look like in order to enable the multi-threaded client feature, you must configure at most one external lib.
And I have clarified this with the FDB community
I guess we will need to configure at least one external client in the code when setting the thread number for FDB client