couchbase-shell
couchbase-shell copied to clipboard
scopes/collections commands return errors
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
maybe this is expected with capella?
This was due to collections now being able to have a maxTTL of -1. CBShell was attempting to read the value into a u64.