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

Clarification about truncation with specific LUT #49

Open
kennykarnama opened this issue Apr 3, 2023 · 0 comments
Open

Clarification about truncation with specific LUT #49

kennykarnama opened this issue Apr 3, 2023 · 0 comments

Comments

@kennykarnama
Copy link

OS: Put your operating system here. For example: "Ubuntu 18.04 LTS", "CentOS 7", "Debian 9" etc.

Aerospike version: Put your Aerospike release version or git describe --long --all output here. For example: "3.15.0.1, heads/master-0-g450aee1"

Aerospike CE Docker version 5.6.0.3

Client version: *Put which client and the version of the client you are using (if applicable) here. For example: "Java 4.0.8, C 4.2.0"

Go v4.5+


Explain your Aerospike Server issue in detail here and (if applicable) provide logs snippets, configuration, and/or reproduction instructions.

A bit confused with truncate using specific LUT

I tried to specify LUT in Go i.e.

time.Now().Add(3 * time.Second)

It doesn't truncate anything.

From log it was written like this

command lut 1680540851534065369 (Apr 03 2023 16:54:11 GMT) is in the future

Checked in truncate.c, apparently LUT cannot > now ?

https://github.com/aerospike/aerospike-server/blob/master/as/src/base/truncate.c#L182

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

1 participant