I have a DocumentDB cluster with exactly one replica instance ( db.r5.16xlarge ) and a primary instance ( db.r5.24xlarge ). If something happens to the primary instance and a failover occurs, the replica instance will act as the new primary instance. Once the previous primary instance becomes ready, will it again failover back to my initial db.r5.24xlarge primary instance?
How does DocumentDB failover happen if the the reader instance and writer instance have different instance types?
442 Views Asked by Mirna Daniel At
1
There are 1 best solutions below
Related Questions in AMAZON-WEB-SERVICES
- S3 integration testing
- How to get content of BLOCK types LAYOUT_TITLE, LAYOUT_SECTION_HEADER and LAYOUT_xx in Textract
- Error **net::ERR_CONNECTION_RESET** error while uploading files to AWS S3 using multipart upload and Pre-Signed URL
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- AWS - Tab Schema Conversion don't show up after creating a Migration Project
- Unable to run Bash Script using AWS Custom Lambda Runtime
- Using Amazon managed Prometheus to get EC2 metrics data in Grafana
- AWS Dns record A not navigate to elb
- Connection timed out error with smtp.gmail.com
- AWS Cognito Multi-tenant Integration | Ok to use Client’s Idp?
- Elasticbeanstalk FastAPI application is intermittently not responding to https requests
- Call an External API from AWS Lambda
- Why my mail service api spring isnt working?
- export 'AWSIoTProvider' (imported as 'AWSIoTProvider') was not found in '@aws-amplify/pubsub'
- How to take first x seconds of Audio from a wav file read from AWS S3 as binary stream using Python?
Related Questions in FAILOVER
- Set host-ip list in python-flask server
- Is there any way to check webpage content health check in AWS lambda/drs/ec2?
- How can I minimize data loss & data transfer when I failback with the requirement that I promote the old primary back to its primary status?
- ActiveMQ Classic 5.18.3 running in a fail-over configuration using SQL Server as backend datastore throws Primary Key violation error
- WSFC with SQL transactional replication issue
- Connection pool configuration with Jedis MultiClusterPooledConnectionProvider
- Spring Data Redis 3.2.2 support for Jedis 5.0.2 MultiClusterClientConfig
- Spring Boot + ReactJS + ActiveMQ Classic - STOMP failover support for existing websocket (chat) connections
- Lettuce client not able to detect Redis failure immediately
- DNS Routing Failover Route53 to deploy .NET Windows Service in Active/Passive manner
- Issue with "10010 TXN_PARTITION_STATE_UNMATCH" Error in GridDB During Client Request Execution
- 'CHECKPOINT_SHUTDOWN' Log Entries in PostgreSQL During Master-Slave Replication and Server Failures"
- How to test redis failover with redis sentinel and docker compose?
- In Jenkins, how can I configure the build to fail when error codes fall within the range of 206 to 599 in JMeter performance tests
- Pgpool Server Failover
Related Questions in AWS-DOCUMENTDB
- Using the $pull operator to remove an object via a nested field from an array in DocumentDB?
- Upload photos and video in AWS documentdb
- Integrating document DB with java outside VPC
- Amazon DocumentDB query with multiple distinct field not working
- Best way to add / remove a field from all queries
- Glue connection with DocumentDB with ssl enabled get timeout
- Type-checking in mongoDB filter with sub-objects
- Is it feasible to have a cluster of two MongoDB On Premise VMs and a DocumentDB on AWS?
- AWS Document DB no coonect with MongoClient
- Field 'writeConcern' is currently not supported using Mongock with AWS Document DB
- Unable to do mongodump or mongoexport from AWS DocumentDB instance
- Error: Parameters cannot be modified at the same time in AWS Document DB Elastic Cluster (CDK/ Cloudformation)
- How to rotate AWS DocumentDB password through secret manager cron expression via CDK?
- How to pass AWS Secret to Elastic Document DB Cluster using CDK/ Terraform/ Cloudformation
- How to use Amazon documentdb with langchain?
Related Questions in DOCUMENT-DATABASE
- Efficiently read Firestore's document reference field contents
- Cassandra poor performance when aggregating over 40 columns in a 500K partition
- How many databases are allowed in a single mongodb cluster?
- Getting more useful data from a lookup on a many-to-many relationship in Fauna
- Document stores (e.g. Firebase) - smaller documents or more updates?
- How does DocumentDB failover happen if the the reader instance and writer instance have different instance types?
- How to delete nested collections from an empty document in Firestore?
- Storing layered objects in a grid
- Remove a child object in Fauna DB
- Full Text Search in OrientDB JSON Data
- How can I reduce the size of this JSON record?
- $match in lookup stage without removing local documents in mongoDB
- How to un-nest and group collections in mongoDB
- Save data to tinydb from android studio app
- How to query data from nested document in mongodb?
Related Questions in FAILOVERCLUSTER
- Microsoft SQL Always On failover cluster goes offline when adding a new node
- Error while configuring Virtual Machine role in Failover Cluster
- Cannot create a linked server to between two instances of SQL server 2016 running in a 2 node multisubnet windows failover cluster (WFCI)
- Windows Failover Cluster Generic Script Resource: How to get IP-Address?
- Set-ClusterQuorum: A parameter cannot be found that matches parameter name 'Credential'
- Split Brain Problem in Different Data Center (Logic, Failover)
- S2d Failover Cluster Permissions
- How to replace NetAPP storage with Azure Storage in SQL Server 2019 failover cluster without any downtime?
- Create an "Other Server" clustered role on failover cluster manager and add a generic service to it using powershell
- how to move cluster resources asynchronously
- TimescaleDB multinode cluster & replication factor
- Why the select -first 1 doesn't work in this PowerShell command?
- Postgresql failover is not working when using multiple hosts in connection string
- SQL Server 2019 DAG WFC - Manual Failover won't work (MSSQL Error 41131)
- Database write protected after failover
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
No, it will not failover again to promote the previous primary instance. You'll have to failover manually to promote the bigger instance.
Better control can be achieved with 3 instance using failover tiers. Each replica instance is associated with a failover tier (0–15), where a lower tier means the instance has higher priority to be chosen for election.
For example, a cluster with two db.r5.24xlarge set on tier-1 and one db.r5.16xlarge set on tier-2. If a primary db.r5.24xlarge becomes unavailable, then the other db.r5.24xlarge will be promoted because it has a higher priority.
Reference.