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

scopes/collections commands return errors #307

Closed
ingenthr opened this issue Apr 26, 2024 · 2 comments
Closed

scopes/collections commands return errors #307

ingenthr opened this issue Apr 26, 2024 · 2 comments

Comments

@ingenthr
Copy link
Contributor

This is running on a branch with the vector demo code in it. Also interesting that git describe sent it into background!

๐Ÿ‘ค ingenthr ๐Ÿ  shellvectordemo in โ˜๏ธ data.research.10ks 
> version
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ version โ”‚ 0.91.0 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
๐Ÿ‘ค ingenthr ๐Ÿ  shellvectordemo in โ˜๏ธ data.research.10ks 
> git describe
v0.75.2-50-g51879a6
[1]  + 74194 suspended (tty output)  target/debug/cbsh
โžœ  couchbase-shell git:(demo_branch) โœ— fg
[1]  + 74194 continued  target/debug/cbsh
ERROR: reset foreground id failed, tcsetpgrp result: EINTR
๐Ÿ‘ค ingenthr ๐Ÿ  shellvectordemo in โ˜๏ธ data.research.10ks 
> collections
Error:   ร— Deserialization of the request body failed
   โ•ญโ”€[entry #6:1:1]
 1 โ”‚ collections
   ยท โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€
   ยท      โ•ฐโ”€โ”€ 
   โ•ฐโ”€โ”€โ”€โ”€
  help: Error from the deserializer: invalid value: integer `-1`, expected u64 at line 1 column 288


๐Ÿ‘ค ingenthr ๐Ÿ  shellvectordemo in โ˜๏ธ data.research.10ks 
> scopes
Error:   ร— Deserialization of the request body failed
   โ•ญโ”€[entry #7:1:1]
 1 โ”‚ scopes
   ยท โ”€โ”€โ”€โ”ฌโ”€โ”€
   ยท    โ•ฐโ”€โ”€ 
   โ•ฐโ”€โ”€โ”€โ”€
  help: Error from the deserializer: invalid value: integer `-1`, expected u64 at line 1 column 288
@ingenthr
Copy link
Contributor Author

maybe this is expected with capella?

@Westwooo
Copy link
Contributor

This was due to collections now being able to have a maxTTL of -1. CBShell was attempting to read the value into a u64.

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