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

client.get return a wrong value when put a big integer number #2000

Closed
wangsq opened this issue Oct 11, 2024 · 1 comment
Closed

client.get return a wrong value when put a big integer number #2000

wangsq opened this issue Oct 11, 2024 · 1 comment

Comments

@wangsq
Copy link

wangsq commented Oct 11, 2024

Describe your problem

client.get return a wrong value when put a big integer number which larger than 2^63 . Here is the code:

1. put a int smaller than 2^63, this result is same as put value


value = 2**63-1
oid = client.put(value)

result = client.get(oid)
print(f'{value=}, {result=}, {value == int(result)}')

output:
value=9223372036854775807, result=9223372036854775807, True

2. put a int that larger or equal than 2^63, this result is always 1.

value = 2**63
oid = client.put(value)

result = client.get(oid)
print(f'{value=}, {result=}, {value == int(result)}')

output:
value=9223372036854775808, result=1, False


If is is a bug report, to help us reproducing this bug, please provide information below:

  1. Your Operation System version (uname -a): 6.8.0-45-generic Fixes bugs in launcher when multiple host and multiple workers involved. #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug fd 11 │Dumping 301618 Realtime Data. │ 30 12:02:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

  2. The version of vineyard you use (vineyard.__version__): '0.24.2'

  3. Versions of crucial packages, such as gcc, numpy, pandas, etc.:

  4. Full stack of the error (if there are a crash):

  5. Minimized code to reproduce the error: see above

@dashanji
Copy link
Member

Duplicated with #1999, closed.

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