Kouhei Sutou
null+****@clear*****
Fri Dec 27 14:41:39 JST 2013
Kouhei Sutou 2013-12-27 14:41:39 +0900 (Fri, 27 Dec 2013) New Revision: a5fbfb71192c229760a3705655d39d301beb4d62 https://github.com/droonga/droonga.org/commit/a5fbfb71192c229760a3705655d39d301beb4d62 Message: catalog: use Kramdown's fanced codeblock markup Kramdown: ~~~#{LANGUAGE} ... ~~~ GitHub Flavored Markdown: ```#{LANGUAGE} ... ``` Modified files: reference/catalog/index.md Modified: reference/catalog/index.md (+40 -38) =================================================================== --- reference/catalog/index.md 2013-12-27 14:24:23 +0900 (7554da3) +++ reference/catalog/index.md 2013-12-27 14:41:39 +0900 (076c7ae) @@ -15,49 +15,51 @@ Resources which **catalog** manages are as following. Here is a sample **catalog** for (TODO: describes about the configuration by the catalog): - { - "effective_date": "2013-06-05T00:05:51Z", - "zones": ["localhost:23003/farm0", "localhost:23003/farm1"], - "farms": { - "localhost:23003/farm0": { - "device": "/disk0", - "capacity": 1024 +~~~json +{ + "effective_date": "2013-06-05T00:05:51Z", + "zones": ["localhost:23003/farm0", "localhost:23003/farm1"], + "farms": { + "localhost:23003/farm0": { + "device": "/disk0", + "capacity": 1024 + }, + "localhost:23003/farm1": { + "device": "/disk1", + "capacity": 1024 + } + }, + "datasets": { + "Wiki": { + "workers": 4, + "number_of_replicas": 2, + "number_of_partitions": 2, + "partition_key": "_key", + "date_range": "infinity", + "ring": { + "localhost:23004": { + "weight": 10, + "partitions": { + "2013-07-24": [ + "localhost:23003/farm0.000", + "localhost:23003/farm1.000" + ] + } }, - "localhost:23003/farm1": { - "device": "/disk1", - "capacity": 1024 - } - }, - "datasets": { - "Wiki": { - "workers": 4, - "number_of_replicas": 2, - "number_of_partitions": 2, - "partition_key": "_key", - "date_range": "infinity", - "ring": { - "localhost:23004": { - "weight": 10, - "partitions": { - "2013-07-24": [ - "localhost:23003/farm0.000", - "localhost:23003/farm1.000" - ] - } - }, - "localhost:23005": { - "weight": 10, - "partitions": { - "2013-07-24": [ - "localhost:23003/farm1.001", - "localhost:23003/farm0.001" - ] - } - } + "localhost:23005": { + "weight": 10, + "partitions": { + "2013-07-24": [ + "localhost:23003/farm1.001", + "localhost:23003/farm0.001" + ] } } } } + } +} +~~~ ## Parameters -------------- next part -------------- HTML����������������������������...Download