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

PutObject storage changes with new client 2.9 #294

Open
komalbb opened this issue Apr 17, 2020 · 2 comments
Open

PutObject storage changes with new client 2.9 #294

komalbb opened this issue Apr 17, 2020 · 2 comments

Comments

@komalbb
Copy link

komalbb commented Apr 17, 2020

Hi Aerospike use to store the following under single bin till 2.8 version

type struct inp { 
    ID int64,
    DBMetaInfo
}

type struct DBMetaInfo {
    CreatedBy varchar(255)
    ....
}

the bins use to be ID|DBMetaInfo till 2.8 version. In 2.9 Version, it change to store
ID|CreatedBy.

When reading records of a query (based on secondary index), we referred DBMetaInfo as Map and read the values, it's breaking with 2.9, Any way to continue to write it as a map?

@khaf
Copy link
Collaborator

khaf commented Apr 17, 2020

There has been no change in the design of how this works. If the behavior has changed, it's a regression. I'll see if I can reproduce this, and will fix early next week.

@komalbb
Copy link
Author

komalbb commented Apr 17, 2020

@khaf Thanks.

I tried with the module github.com/aerospike/aerospike-client-go v2.8.0+incompatible (It works)
with github.com/aerospike/aerospike-client-go v2.9.0+incompatible (it failed)

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