Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google cloud platform firestore上的常见错误:StructuredQuery.from不能有多个集合选择器_Google Cloud Platform_Google Cloud Firestore_Spring Webflux - Fatal编程技术网

Google cloud platform firestore上的常见错误:StructuredQuery.from不能有多个集合选择器

Google cloud platform firestore上的常见错误:StructuredQuery.from不能有多个集合选择器,google-cloud-platform,google-cloud-firestore,spring-webflux,Google Cloud Platform,Google Cloud Firestore,Spring Webflux,我正在运行一个带有反应式firestore存储库的Spring boot WebFlux应用程序。我经常在日志中看到以下异常,当我对应用程序进行负载测试时,异常就开始了。但是,在没有加载的情况下,应用程序以正常方式响应,并且在日志中看不到任何错误 io.grpc.StatusRuntimeException: INVALID_ARGUMENT: StructuredQuery.from cannot have more than one collection selector. 我不会同时查询

我正在运行一个带有反应式firestore存储库的Spring boot WebFlux应用程序。我经常在日志中看到以下异常,当我对应用程序进行负载测试时,异常就开始了。但是,在没有加载的情况下,应用程序以正常方式响应,并且在日志中看不到任何错误

io.grpc.StatusRuntimeException: INVALID_ARGUMENT: StructuredQuery.from cannot have more than one collection selector.

我不会同时查询多个集合。有人知道这个问题的根本原因是什么吗?

显然,双重订阅存在一些问题,现在已经解决了。请参阅


正在等待发布。

您能显示触发异常的查询吗?我不是自己编写查询,我使用的是带有webflux的spring cloud firestore,它有助于类似JPA的回购声明。因此,我使用方法而不是“findByName(String name)”之类的查询。请提供有关生成的查询的更多信息,这些查询应该可以从后端日志中检索,以及您使用的数据库模式、数据结构和方法,以便进一步调查。