Re: RGW region metadata sync prevents writes to non-master region

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

 



On 30/01/15 11:08, Yehuda Sadeh wrote:
How does your regionmap look like? Is it updated correctly on all zones?


Regionmap listed below - checking it on all 4 zones produces exactly the same output (md5sum is same):

{
    "regions": [
        {
            "key": "eu",
            "val": {
                "name": "eu",
                "api_name": "eu",
                "is_master": "false",
                "endpoints": [
                    "http:\/\/ceph4:80\/",
                    "http:\/\/ceph3:80\/"
                ],
                "master_zone": "eu-east",
                "zones": [
                    {
                        "name": "eu-east",
                        "endpoints": [
                            "http:\/\/ceph4:80\/"
                        ],
                        "log_meta": "true",
                        "log_data": "true",
                        "bucket_index_max_shards": 0
                    },
                    {
                        "name": "eu-west",
                        "endpoints": [
                            "http:\/\/ceph3:80\/"
                        ],
                        "log_meta": "true",
                        "log_data": "true",
                        "bucket_index_max_shards": 0
                    }
                ],
                "placement_targets": [
                    {
                        "name": "default-placement",
                        "tags": []
                    }
                ],
                "default_placement": "default-placement"
            }
        },
        {
            "key": "us",
            "val": {
                "name": "us",
                "api_name": "us",
                "is_master": "true",
                "endpoints": [
                    "http:\/\/ceph2:80\/",
                    "http:\/\/ceph1:80\/"
                ],
                "master_zone": "us-east",
                "zones": [
                    {
                        "name": "us-east",
                        "endpoints": [
                            "http:\/\/ceph2:80\/"
                        ],
                        "log_meta": "true",
                        "log_data": "true",
                        "bucket_index_max_shards": 0
                    },
                    {
                        "name": "us-west",
                        "endpoints": [
                            "http:\/\/ceph1:80\/"
                        ],
                        "log_meta": "true",
                        "log_data": "true",
                        "bucket_index_max_shards": 0
                    }
                ],
                "placement_targets": [
                    {
                        "name": "default-placement",
                        "tags": []
                    }
                ],
                "default_placement": "default-placement"
            }
        }
    ],
    "master_region": "us",
    "bucket_quota": {
        "enabled": false,
        "max_size_kb": -1,
        "max_objects": -1
    },
    "user_quota": {
        "enabled": false,
        "max_size_kb": -1,
        "max_objects": -1
    }
}

_______________________________________________
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