Skip to content
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

FdbTop/FdbShell is not compatible with latest FDB client (version 630) #108

Open
Rjerk opened this issue Oct 21, 2021 · 2 comments
Open

Comments

@Rjerk
Copy link

Rjerk commented Oct 21, 2021

➜  foundationdb-dotnet-client git:(aa3d663d) ✗ ./build/FdbShell
Connecting to cluster...
REMOVED FDB API FUNCTION
[1]    504729 abort (core dumped)  ./build/FdbShell
➜  foundationdb-dotnet-client git:(aa3d663d) ✗ ./build/FdbTop
REMOVED FDB API FUNCTION
[1]    504752 abort (core dumped)  ./build/FdbTop
@KrzysFR
Copy link
Member

KrzysFR commented Nov 3, 2021

Sorry for the delay.

I think you are using one of the releases (5.2?) which was build before the changes in the 6.X API were the connect API was removed. This was fixed in 35837db (a while ago ^^;)

We always built from source, and the master branch works fine with the 6.2 and 6.3 releases.

I'll try to spin out a new release of both the nuget package and tools, but in the mean time, you could try checking out the master branch, and rebuilding it?

Be aware that the API has changed a lot since mid-2019, especially regarding the directory layer and caching of subspaces (in an attempt to fix a major issue that the previous versions had). This means that the "documentation" is now completely out of date. I'll try to fix it at some point, but in the mean time, you can use one of the samples, or the unit tests as a reference? Look for usage of the FdbPath which is used to represent a "path" in the directory layer, and is used as the key to the directory layer to obtain an actual subspace instance from the cache.

@KrzysFR
Copy link
Member

KrzysFR commented Nov 3, 2021

I have published updated nuget packages, and in the 7.0.0-preview1 release you can find binaries for windows and .NET 5.0+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants