Comments (4)
It seems that typesense resolves the hostnames and caches the resolved ip addresses.
We don't cache the IP -- we resolve it periodically when we check for changes to the nodes file.
You have to do rolling rotation of the nodes with enough time for the cluster to recover because a 3-node raft cluster requires atleast 2 nodes to be up for healthy functioning.
Otherwise, you can add the reset-peers-on-error
flag to make the cluster hard reset clustering state if multiple containers have been rotated at one go.
from typesense.
Thanks, if --reset-peers-on-error
is enabled, can it happen to loose all the data as only one container writes it? Or will it keep the data and "recover" it?
from typesense.
We don't recommend using that flag if you have high volume of writes. The best way to do rotation is container by container. Some people have mostly static clusters whether they don't mind using this flag for fast recovery.
from typesense.
Thank you very much!
from typesense.
Related Issues (20)
- `stem: true` prevents `filter_by` from returning results HOT 3
- Querying facets only cuts off value string HOT 3
- BALANCED parentheses filter query will trigger `"Could not parse the filter query.` HOT 2
- The desired functionality should support MultiPolygon to determine if a point falls within a specific area, enabling the retrieval of the code associated with that area.
- "Bad JSON" for POST collections request HOT 1
- Typesense increase num_documents after restart HOT 1
- Integration for Haystack.
- exclude search keywords in override rules HOT 9
- [Feature Request] Set query_by and num_typos in overrides
- Feauture request: Support for multiple references to the same collection in a particular collection
- Unable to filter for existent/non-existent attributes HOT 1
- Conversation Search using existing embedding HOT 2
- Bad syntax for sorting field `address.coords` when querying with GeoSearch HOT 3
- Can't downloading RC builds from dl.typesense.org HOT 2
- Faster Server Restarts
- Embedding from nested object's field does not work
- field parameter 'store' behaviour?
- Schema field name can be empty and can trigger an error
- Malformed analytics events JSON response HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typesense.