I have a situation where we need to migrate data from one Riak cluster to another and then remove the old cluster. The ring size will be same, even the region will be the same. We need to do this to upgrade the instances to AL2. Is there a clean approach to do so on Prod, without realtime data loss?
Migrate Data from one Riak cluster to another
156 Views Asked by WordsWorth At
1
There are 1 best solutions below
Related Questions in DATA-MIGRATION
- How to refactor code to fix deprecated list '.append' from a 159 lines of python code?
- Unable to import and export large data volume to or from cosmos DB container
- How can I migrate my flutter coded and firebase hosted app to a no-code platform?
- Import multiple zip files data through Azure DevOps pipeline
- Reorganizing a Legacy Django Project with Database Challenges
- Optimizing Data Migration from 10GB RDB File to Redis Cluster (3 Primary, 3 Replica)
- How migration from dynamoDB to postgress while both old and new system has active users working online?
- Migrating from Firebase Storage to CloudKit
- Problems appending to Excel
- Upload to Azure Migrate - Error AADSTS16000
- Export Entire Data from Dynamo DB table to S3
- Copying PostgreSQL Server to Another Server
- Workflow for copying tables from remote Postgres DB to another remote DB using Prisma ORM
- How to migrate the content with images from Drupal 8 to Drupal 9 for single content type automatically?
- spring batch RepositoryItemWriter doesnt write data to database
Related Questions in RIAK
- Riak services not starting on Master server
- Riak - partitions waiting to handoff
- Rollback Riak node leaving ring job
- Riak 2 partitions waiting to handoff indefinitely
- Nitrogen - File upload directly to database
- python3 failed to import riak
- Why is the Erlang riak client crashing?
- How do I Install Riak on Ubuntu using apt
- Riak failed to start within 15 seconds after renaming node
- Riak can't find object by key in first time
- Migrate Data from one Riak cluster to another
- Riak. MultiDelete of RiakClient don't throw Exception
- Is RocksDB and LevelDB just like Riak?
- Modeling data for maximum searchability
- Using Riak KV for Multitenant Applications
Related Questions in RIAK-KV
- Riak - partitions waiting to handoff
- Riak can't find object by key in first time
- Migrate Data from one Riak cluster to another
- Riak kv SearchOperation NoNodesAvailableException
- Riak-KV: how to create bucket in docker-compose file?
- Difference between node_gets and vnode_gets in Riak
- Riak search on CRDT data types - memory backend
- Riak KV: how to reinitialize data directories
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 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?
The answer to this may be tied to your version of Riak KV. If you have the open source version of Riak KV 2.2.3 or earlier, this will require an in-situ upgrade to Riak KV 2.2.6 before progressing. See https://www.tiot.jp/riak-docs/riak/kv/2.2.6/setup/upgrading/version/ with packages at https://files.tiot.jp/riak/kv/2.2/2.2.6/
For an Enterprise Editions of Riak KV 2.2.3 and earlier or the open source edition of Riak KV 2.2.6 or higher, you can use multi-data centre replication (MDC).
Use both of these at the same time for proper replication and to prevent data loss:
If you then set this up as bidirectional replication (get each cluster to replicate to the other for both fullsync and realtime) then you will be able to seemlessly switch your production environment from one cluster to the other without any issues. Once you are happy everything is working as expected, you can kill the old cluster.
Please see the documentation for replication at https://www.tiot.jp/riak-docs/riak/kv/2.2.6/using/cluster-operations/v3-multi-datacenter/