Re: Stop metadata sync in multi-site RGW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Right, the sync_from fields in the zone configuration only relate to data sync within the zonegroup. Can you clarify what your goal is? Are you just trying to pause the replication for a while, or disable it permanently?

To pause replication, you can configure rgw_run_sync_thread=0 on all gateways in that zone. Just note that replication logs will continue to grow, and because this 'paused' zone isn't consuming them, it will prevent the logs from being trimmed on all zones until sync is reenabled and replication catches up.

To disable replication entirely, you'd want to move that zone out of the multisite configuration. This would involve removing the zone from its current zonegroup, creating a new realm and zonegroup, moving the zone into that, and setting its log_data/log_meta fields to false. I can follow up with radosgw-admin commands if that's what you're trying to do.

On 6/19/19 10:14 AM, Marcelo Mariano Miziara wrote:
Hello all!

I'm trying to stop the sync from two zones, but using the parameter "--sync_from_all=false" seems to stop only the data sync, but not the metadata (i.e. users and buckets are synced).


# radosgw-admin sync status
          realm XXXXXXXXXXXX (xxxxxx)
          zonegroup XXXXXXXXXXXX (xxxxxx)
          zone XXXXXXXXXXXX (xxxxxx)
  metadata sync syncing
                full sync: 0/64 shards
                incremental sync: 64/64 shards
                metadata is caught up with master
      data sync source:XXXXXXXXXXXX (xxxxxx)
                        not syncing from zone

Thanks,
Marcelo M.
Serviço Federal de Processamento de Dados - SERPRO
marcelo.miziara@xxxxxxxxxxxxx

-


"Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada exclusivamente a seu destinatário e pode conter informações confidenciais, protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, por gentileza, reenviá-la ao emitente, esclarecendo o equívoco."

"This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a government company established under Brazilian law (5.615/70) -- is directed exclusively to its addressee and may contain confidential data, protected under professional secrecy rules. Its unauthorized use is illegal and may subject the transgressor to the law's penalties. If you're not the addressee, please send it back, elucidating the failure."

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux