Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
-
SDK28, SDK30
Description
Below is the list of requests that are being forwarded by SDKs to server (ideally, should not), with their respective Java error messages (They will be quite helpful while debugging):
1. VectorSearchBase64Test.vectorQueryWithoutFieldNameThrowInvalidArgument
elapsedNanos: 15115583 |
initiated {
|
seconds: 1717689892 |
nanos: 974000000 |
}
|
sdk {
|
exception {
|
couchbase {
|
name: "InvalidArgumentException" |
type: SDK_INVALID_ARGUMENT_EXCEPTION
|
serialized: "com.couchbase.client.core.error.InvalidArgumentException: Field cannot be null or empty" |
}
|
}
|
}
|
|
2. VectorSearchTest.emptySearchRequestThrowInvalidArgument
elapsedNanos: 48000 |
initiated {
|
seconds: 1717691088 |
nanos: 865000000 |
}
|
sdk {
|
exception {
|
couchbase {
|
name: "InvalidArgumentException" |
type: SDK_INVALID_ARGUMENT_EXCEPTION
|
serialized: "com.couchbase.client.core.error.InvalidArgumentException: At least one of searchQuery and vectorSearch must be specified" |
}
|
}
|
}
|
3. VectorSearchTest.emptyVectorQueryThrowInvalidArgument
elapsedNanos: 1260833 |
initiated {
|
seconds: 1717690454 |
nanos: 328000000 |
}
|
sdk {
|
exception {
|
couchbase {
|
name: "InvalidArgumentException" |
type: SDK_INVALID_ARGUMENT_EXCEPTION
|
serialized: "com.couchbase.client.core.error.InvalidArgumentException: Vector must have at least one element." |
}
|
}
|
}
|
4. VectorSearchTest.vectorQueryWithoutFieldNameThrowInvalidArgument
elapsedNanos: 653000 |
initiated {
|
seconds: 1717690548 |
nanos: 198000000 |
}
|
sdk {
|
exception {
|
couchbase {
|
name: "InvalidArgumentException" |
type: SDK_INVALID_ARGUMENT_EXCEPTION
|
serialized: "com.couchbase.client.core.error.InvalidArgumentException: Field cannot be null or empty" |
}
|
}
|
}
|
5. VectorSearchTest.vectorFiledNameWithoutVectorElementThrowInvalidArgument
elapsedNanos: 64542 |
initiated {
|
seconds: 1717690752 |
nanos: 114000000 |
}
|
sdk {
|
exception {
|
couchbase {
|
name: "InvalidArgumentException" |
type: SDK_INVALID_ARGUMENT_EXCEPTION
|
serialized: "com.couchbase.client.core.error.InvalidArgumentException: Vector must have at least one element." |
}
|
}
|
}
|
FIT patch that has these tests: https://review.couchbase.org/c/transactions-fit-performer/+/210629
Thanks!
Attachments
Issue Links
- is duplicated by
-
NCBC-3798 VectorSearch: Prevent passing in empty vectors
- Closed
For Gerrit Dashboard: NCBC-3799 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
212936,4 | NCBC-3799: Requests are being passed instead of sending SDK_INVALID_ARGUMENT_EXCEPTION | master | transactions-fit-performer | Status: MERGED | +2 | +1 |