" /> Replication factor in RWS and Cassandra keyspace - Genesys CTI User Forum

Author Topic: Replication factor in RWS and Cassandra keyspace  (Read 1551 times)

Offline ducth

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
Replication factor in RWS and Cassandra keyspace
« on: March 06, 2020, 07:47:47 AM »
Advertisement
Dear Guy,

I just handover Genesys system and I found some thing different between Replication factor in RWS and Cassandra keyspace.

IRWS config:
  replication_factor: 3

Cassandra keyspace: 6 nodes for DC and 6 Node for DR
6 DC, 6 DR

Is there any expert who can help me understand the issues?
1. What is replication_factor in RWS use for?
2. What is the impact when RWS replication_factor (In RWS) is not same as replication_factor in keyspace level of cassandra

Thanks so much.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Replication factor in RWS and Cassandra keyspace
« Reply #1 on: March 06, 2020, 09:34:57 AM »
Configuration related to the Cassandra cluster must be the same on both level (RWS and Cassandra cluster). What is the current replication factor on keyspace level within Cassandra cluster?

Offline ducth

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
Re: Replication factor in RWS and Cassandra keyspace
« Reply #2 on: March 06, 2020, 10:03:37 AM »
[quote author=Kubig link=topic=11553.msg52624#msg52624 date=1583487297]
Configuration related to the Cassandra cluster must be the same on both level (RWS and Cassandra cluster). What is the current replication factor on keyspace level within Cassandra cluster?
[/quote]

Current keyspace in my system is 6.
keyspace_name      | durable_writes | strategy_class                                      | strategy_options
--------------------+----------------+------------------------------------------------------+-----------------------
              sipfs |          True | org.apache.cassandra.locator.NetworkTopologyStrategy | {"DR1":"6","DC1":"6"}

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Replication factor in RWS and Cassandra keyspace
« Reply #3 on: March 06, 2020, 10:25:05 AM »
Mandatory settings is the Cassandra one, so I strongly recommend to fix the incorrect config values on IRWS level