{"action":"closed","number":3102,"pull_request":{"url":"https://api.github.com/repos/facebook/rocksdb/pulls/3102","id":149880453,"html_url":"https://github.com/facebook/rocksdb/pull/3102","diff_url":"https://github.com/facebook/rocksdb/pull/3102.diff","patch_url":"https://github.com/facebook/rocksdb/pull/3102.patch","issue_url":"https://api.github.com/repos/facebook/rocksdb/issues/3102","number":3102,"state":"closed","locked":false,"title":"Support for Column family specific paths.","user":{"login":"PhaniShekhar","id":30535191,"avatar_url":"https://avatars1.githubusercontent.com/u/30535191?v=4","gravatar_id":"","url":"https://api.github.com/users/PhaniShekhar","html_url":"https://github.com/PhaniShekhar","followers_url":"https://api.github.com/users/PhaniShekhar/followers","following_url":"https://api.github.com/users/PhaniShekhar/following{/other_user}","gists_url":"https://api.github.com/users/PhaniShekhar/gists{/gist_id}","starred_url":"https://api.github.com/users/PhaniShekhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhaniShekhar/subscriptions","organizations_url":"https://api.github.com/users/PhaniShekhar/orgs","repos_url":"https://api.github.com/users/PhaniShekhar/repos","events_url":"https://api.github.com/users/PhaniShekhar/events{/privacy}","received_events_url":"https://api.github.com/users/PhaniShekhar/received_events","type":"User","site_admin":false},"body":"In this change, an option to set different paths for different column families is added.\r\nThis option is set via cf_paths setting of ColumnFamilyOptions. This option will work in a similar fashion to db_paths setting. Cf_paths is a vector of Dbpath values which contains a pair of the absolute path and target size. Multiple levels in a Column family can go to different paths if cf_paths has more than one path. \r\nTo maintain backward compatibility, if cf_paths is not specified for a column family, db_paths setting will be used. Note that, if db_paths setting is also not specified, RocksDB already has code to use db_name as the only path. \r\n\r\nChanges : \r\n1) A new member \"cf_paths\" is added to ImmutableCfOptions. This is set, based on cf_paths setting of ColumnFamilyOptions and db_paths setting of ImmutableDbOptions.  This member is used to identify the path information whenever files are accessed. \r\n2) Validation checks are added for cf_paths setting based on existing checks for db_paths setting.\r\n3) DestroyDB, PurgeObsoleteFiles etc. are edited to support multiple cf_paths.\r\n4) Unit tests are added appropriately.","created_at":"2017-10-31T19:02:12Z","updated_at":"2018-04-06T02:58:42Z","closed_at":"2018-04-06T02:58:42Z","merged_at":null,"merge_commit_sha":"9eecad915e15243a8e46275f2e933470aa9a93d5","assignee":{"login":"ajkr","id":4780362,"avatar_url":"https://avatars0.githubusercontent.com/u/4780362?v=4","gravatar_id":"","url":"https://api.github.com/users/ajkr","html_url":"https://github.com/ajkr","followers_url":"https://api.github.com/users/ajkr/followers","following_url":"https://api.github.com/users/ajkr/following{/other_user}","gists_url":"https://api.github.com/users/ajkr/gists{/gist_id}","starred_url":"https://api.github.com/users/ajkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajkr/subscriptions","organizations_url":"https://api.github.com/users/ajkr/orgs","repos_url":"https://api.github.com/users/ajkr/repos","events_url":"https://api.github.com/users/ajkr/events{/privacy}","received_events_url":"https://api.github.com/users/ajkr/received_events","type":"User","site_admin":false},"assignees":[{"login":"ajkr","id":4780362,"avatar_url":"https://avatars0.githubusercontent.com/u/4780362?v=4","gravatar_id":"","url":"https://api.github.com/users/ajkr","html_url":"https://github.com/ajkr","followers_url":"https://api.github.com/users/ajkr/followers","following_url":"https://api.github.com/users/ajkr/following{/other_user}","gists_url":"https://api.github.com/users/ajkr/gists{/gist_id}","starred_url":"https://api.github.com/users/ajkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajkr/subscriptions","organizations_url":"https://api.github.com/users/ajkr/orgs","repos_url":"https://api.github.com/users/ajkr/repos","events_url":"https://api.github.com/users/ajkr/events{/privacy}","received_events_url":"https://api.github.com/users/ajkr/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":196859108,"url":"https://api.github.com/repos/facebook/rocksdb/labels/CLA%20Signed","name":"CLA Signed","color":"009900","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/facebook/rocksdb/pulls/3102/commits","review_comments_url":"https://api.github.com/repos/facebook/rocksdb/pulls/3102/comments","review_comment_url":"https://api.github.com/repos/facebook/rocksdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/rocksdb/issues/3102/comments","statuses_url":"https://api.github.com/repos/facebook/rocksdb/statuses/96e94ab677b868aee2313ed0de84f4175305cd47","head":{"label":"PhaniShekhar:PerColumnFamilyPath","ref":"PerColumnFamilyPath","sha":"96e94ab677b868aee2313ed0de84f4175305cd47","user":{"login":"PhaniShekhar","id":30535191,"avatar_url":"https://avatars1.githubusercontent.com/u/30535191?v=4","gravatar_id":"","url":"https://api.github.com/users/PhaniShekhar","html_url":"https://github.com/PhaniShekhar","followers_url":"https://api.github.com/users/PhaniShekhar/followers","following_url":"https://api.github.com/users/PhaniShekhar/following{/other_user}","gists_url":"https://api.github.com/users/PhaniShekhar/gists{/gist_id}","starred_url":"https://api.github.com/users/PhaniShekhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhaniShekhar/subscriptions","organizations_url":"https://api.github.com/users/PhaniShekhar/orgs","repos_url":"https://api.github.com/users/PhaniShekhar/repos","events_url":"https://api.github.com/users/PhaniShekhar/events{/privacy}","received_events_url":"https://api.github.com/users/PhaniShekhar/received_events","type":"User","site_admin":false},"repo":{"id":99615094,"name":"rocksdb","full_name":"PhaniShekhar/rocksdb","owner":{"login":"PhaniShekhar","id":30535191,"avatar_url":"https://avatars1.githubusercontent.com/u/30535191?v=4","gravatar_id":"","url":"https://api.github.com/users/PhaniShekhar","html_url":"https://github.com/PhaniShekhar","followers_url":"https://api.github.com/users/PhaniShekhar/followers","following_url":"https://api.github.com/users/PhaniShekhar/following{/other_user}","gists_url":"https://api.github.com/users/PhaniShekhar/gists{/gist_id}","starred_url":"https://api.github.com/users/PhaniShekhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhaniShekhar/subscriptions","organizations_url":"https://api.github.com/users/PhaniShekhar/orgs","repos_url":"https://api.github.com/users/PhaniShekhar/repos","events_url":"https://api.github.com/users/PhaniShekhar/events{/privacy}","received_events_url":"https://api.github.com/users/PhaniShekhar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PhaniShekhar/rocksdb","description":"A library that provides an embeddable, persistent key-value store for fast storage.","fork":true,"url":"https://api.github.com/repos/PhaniShekhar/rocksdb","forks_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/forks","keys_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/teams","hooks_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/hooks","issue_events_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/issues/events{/number}","events_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/events","assignees_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/assignees{/user}","branches_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/branches{/branch}","tags_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/tags","blobs_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/statuses/{sha}","languages_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/languages","stargazers_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/stargazers","contributors_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/contributors","subscribers_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/subscribers","subscription_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/subscription","commits_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/contents/{+path}","compare_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/merges","archive_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/downloads","issues_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/issues{/number}","pulls_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/pulls{/number}","milestones_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/milestones{/number}","notifications_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/labels{/name}","releases_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/releases{/id}","deployments_url":"https://api.github.com/repos/PhaniShekhar/rocksdb/deployments","created_at":"2017-08-07T20:01:30Z","updated_at":"2018-04-03T19:32:19Z","pushed_at":"2018-04-04T09:31:34Z","git_url":"git://github.com/PhaniShekhar/rocksdb.git","ssh_url":"git@github.com:PhaniShekhar/rocksdb.git","clone_url":"https://github.com/PhaniShekhar/rocksdb.git","svn_url":"https://github.com/PhaniShekhar/rocksdb","homepage":"http://rocksdb.org","size":112912,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"12b400e814977a82a384af62d9c02610954b0648","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars3.githubusercontent.com/u/69631?v=4","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":6934395,"name":"rocksdb","full_name":"facebook/rocksdb","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars3.githubusercontent.com/u/69631?v=4","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/rocksdb","description":"A library that provides an embeddable, persistent key-value store for fast storage.","fork":false,"url":"https://api.github.com/repos/facebook/rocksdb","forks_url":"https://api.github.com/repos/facebook/rocksdb/forks","keys_url":"https://api.github.com/repos/facebook/rocksdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/rocksdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/rocksdb/teams","hooks_url":"https://api.github.com/repos/facebook/rocksdb/hooks","issue_events_url":"https://api.github.com/repos/facebook/rocksdb/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/rocksdb/events","assignees_url":"https://api.github.com/repos/facebook/rocksdb/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/rocksdb/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/rocksdb/tags","blobs_url":"https://api.github.com/repos/facebook/rocksdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/rocksdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/rocksdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/rocksdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/rocksdb/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/rocksdb/languages","stargazers_url":"https://api.github.com/repos/facebook/rocksdb/stargazers","contributors_url":"https://api.github.com/repos/facebook/rocksdb/contributors","subscribers_url":"https://api.github.com/repos/facebook/rocksdb/subscribers","subscription_url":"https://api.github.com/repos/facebook/rocksdb/subscription","commits_url":"https://api.github.com/repos/facebook/rocksdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/rocksdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/rocksdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/rocksdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/rocksdb/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/rocksdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/rocksdb/merges","archive_url":"https://api.github.com/repos/facebook/rocksdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/rocksdb/downloads","issues_url":"https://api.github.com/repos/facebook/rocksdb/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/rocksdb/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/rocksdb/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/rocksdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/rocksdb/labels{/name}","releases_url":"https://api.github.com/repos/facebook/rocksdb/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/rocksdb/deployments","created_at":"2012-11-30T06:16:18Z","updated_at":"2018-04-05T22:59:27Z","pushed_at":"2018-04-06T02:58:34Z","git_url":"git://github.com/facebook/rocksdb.git","ssh_url":"git@github.com:facebook/rocksdb.git","clone_url":"https://github.com/facebook/rocksdb.git","svn_url":"https://github.com/facebook/rocksdb","homepage":"http://rocksdb.org","size":112405,"stargazers_count":10235,"watchers_count":10235,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2253,"mirror_url":null,"archived":false,"open_issues_count":151,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2253,"open_issues":151,"watchers":10235,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/rocksdb/pulls/3102"},"html":{"href":"https://github.com/facebook/rocksdb/pull/3102"},"issue":{"href":"https://api.github.com/repos/facebook/rocksdb/issues/3102"},"comments":{"href":"https://api.github.com/repos/facebook/rocksdb/issues/3102/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/rocksdb/pulls/3102/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/rocksdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/rocksdb/pulls/3102/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/rocksdb/statuses/96e94ab677b868aee2313ed0de84f4175305cd47"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":17,"review_comments":9,"maintainer_can_modify":false,"commits":12,"additions":742,"deletions":167,"changed_files":34}}
{"actor":{"display_login":"facebook-github-bot"}}