Database Administrators
Q&A for database professionals who wish to improve their database skills
Latest Questions
0
votes
0
answers
29
views
How to read the fully replicated data using the atlas search aggregation pipeline?
I want to read the fully replicated data using the atlas search aggregation pipeline. But, Atlas search is not allowing me to read with concern "majority". Error Message: =============== ``` Command aggregate does not support { readConcern: { level: "majority", provenance: "clientSupplied" } } :: ca...
I want to read the fully replicated data using the atlas search aggregation pipeline.
But, Atlas search is not allowing me to read with concern "majority".
Error Message:
===============
Command aggregate does not support { readConcern: { level: "majority", provenance: "clientSupplied" } } :: caused by :: Aggregation stage $search cannot run with a readConcern other than 'local'. Current readConcern: majority'.
So, How can we ensure the consistency in the search result?
I've read the documentation and understood that the $search
stage is performed by the mongot
service and it won't work with non-local read concern. I don't know why and how can MongoDB guarantee the consistency in search results.


- **Cluster tier** : Dedicated M10
- **Node Type** : electable
- **cluster** : 3 node replicaSet
- **Mongodb version** : 7.0.14
- **pymongo** : 4.10.1
- **writeConcern** : majority
- **readConcern** : majority
- **read preference** : secondary
I have not enabled workload-isolation; So,mongot
and mongod
services are running in each nodes of the replicaSet cluster.
I think i need a help to understand the atlas search setup. Thanks in advance.
KR32
(101 rep)
Oct 22, 2024, 05:16 PM
• Last activity: Oct 22, 2024, 05:24 PM
1
votes
2
answers
143
views
Attempt to build Cassandra Lucene index failed, cannot checkout version 4.0.7
Lucene Index is managed by Instaclustr (https://github.com/instaclustr/cassandra-lucene-index) in Cassandra 4.x instead of Stratio who supported till V3.x. I have tried to test the Index creation but failed with below issues. Anyone please help. I have raised this in git but somehow missed by team....
Lucene Index is managed by Instaclustr (https://github.com/instaclustr/cassandra-lucene-index) in Cassandra 4.x instead of Stratio who supported till V3.x.
I have tried to test the Index creation but failed with below issues.
Anyone please help. I have raised this in git but somehow missed by team.
It would be of great help if anyone who successfully implemented this can share steps.
~/cassandra-lucene-index$ git checkout 4.0.7
error: pathspec '4.0.7' did not match any file(s) known to git
Subsequently below step failed also
mvn clean package


Cassandra Thrift
(307 rep)
Mar 31, 2023, 12:40 PM
• Last activity: Mar 31, 2023, 03:59 PM
1
votes
1
answers
390
views
Which version of Stratio Lucene Index should we use with Cassandra 4.x?
We are using Stratio Lucene Indexer for V3.11.5 and currently planning to upgrade to V4.x. As specific Cassandra Lucene index versions are targeted to specific Apache Cassandra versions. https://github.com/stratio/cassandra-lucene-index Kindly let me know if anyone using this Stratio Lucene Indexer...
We are using Stratio Lucene Indexer for V3.11.5 and currently planning to upgrade to V4.x.
As specific Cassandra Lucene index versions are targeted to specific Apache Cassandra versions.
https://github.com/stratio/cassandra-lucene-index
Kindly let me know if anyone using this Stratio Lucene Indexer with V4.x and which plagin to select.
Cassandra Thrift
(307 rep)
Feb 17, 2023, 10:15 AM
• Last activity: Feb 17, 2023, 10:44 PM
Showing page 1 of 3 total questions