{"action":"created","issue":{"url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/2378","labels_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/2378/labels{/name}","comments_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/2378/comments","events_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/2378/events","html_url":"https://github.com/wiredtiger/wiredtiger/pull/2378","id":121416954,"number":2378,"title":"WT-2269 - Add ability to write config dump","user":{"login":"daveh86","id":909151,"avatar_url":"https://avatars.githubusercontent.com/u/909151?v=3","gravatar_id":"","url":"https://api.github.com/users/daveh86","html_url":"https://github.com/daveh86","followers_url":"https://api.github.com/users/daveh86/followers","following_url":"https://api.github.com/users/daveh86/following{/other_user}","gists_url":"https://api.github.com/users/daveh86/gists{/gist_id}","starred_url":"https://api.github.com/users/daveh86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveh86/subscriptions","organizations_url":"https://api.github.com/users/daveh86/orgs","repos_url":"https://api.github.com/users/daveh86/repos","events_url":"https://api.github.com/users/daveh86/events{/privacy}","received_events_url":"https://api.github.com/users/daveh86/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-10T06:43:43Z","updated_at":"2015-12-21T05:04:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wiredtiger/wiredtiger/pulls/2378","html_url":"https://github.com/wiredtiger/wiredtiger/pull/2378","diff_url":"https://github.com/wiredtiger/wiredtiger/pull/2378.diff","patch_url":"https://github.com/wiredtiger/wiredtiger/pull/2378.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/comments/166203376","html_url":"https://github.com/wiredtiger/wiredtiger/pull/2378#issuecomment-166203376","issue_url":"https://api.github.com/repos/wiredtiger/wiredtiger/issues/2378","id":166203376,"user":{"login":"daveh86","id":909151,"avatar_url":"https://avatars.githubusercontent.com/u/909151?v=3","gravatar_id":"","url":"https://api.github.com/users/daveh86","html_url":"https://github.com/daveh86","followers_url":"https://api.github.com/users/daveh86/followers","following_url":"https://api.github.com/users/daveh86/following{/other_user}","gists_url":"https://api.github.com/users/daveh86/gists{/gist_id}","starred_url":"https://api.github.com/users/daveh86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveh86/subscriptions","organizations_url":"https://api.github.com/users/daveh86/orgs","repos_url":"https://api.github.com/users/daveh86/repos","events_url":"https://api.github.com/users/daveh86/events{/privacy}","received_events_url":"https://api.github.com/users/daveh86/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T05:04:37Z","updated_at":"2015-12-21T05:04:37Z","body":"Here is the test config I have been using.\r\n```\r\nconn_config=\"cache_size=6GB,checkpoint=(wait=100000),statistics=(fast,clear),statistics_log=(wait=5)\"\r\ntable_config=\"type=file\"\r\nicount=1000000\r\nreport_interval=5\r\nrun_time=90\r\npopulate_threads=1\r\ntable_count=1\r\ntable_count_idle=200\r\ntable_count_idle=10\r\nthreads=((count=2,reads=1,ops_per_txn=100),(count=3,inserts=1),(count=1,truncate=1,truncate_pct=10,truncate_count=1000000))\r\n```\r\n\r\nAnd here is the result:\r\n```\r\n# Warning. This config includes unwritten, implicit configuration defaults.\r\n# Changes to those values may cause differences in behavior.\r\nicount=1000000\r\nreport_interval=5\r\nrun_time=90\r\npopulate_threads=1\r\ntable_count=1\r\ntable_count_idle=10\r\nthreads=((count=2,reads=1,ops_per_txn=100),(count=3,inserts=1),(count=1,truncate=1,truncate_pct=10,truncate_count=1000000))\r\nverbose=2\r\nconn_config=\"create,cache_size=6GB,checkpoint=(wait=100000),statistics=(fast,clear),statistics_log=(wait=5),\"\r\ntable_config=\"key_format=S,value_format=S,type=lsm,exclusive=true,allocation_size=4kb,internal_page_max=64kb,leaf_page_max=4kb,split_pct=100,type=file,\"\r\n```\r\n\r\nNote how the `conn_config` line is different, but only one is printed. Additionally, note how only one `table_count_idle` is included, if we were over-matching we would not get both returned as we would be comparing `table_count_idle=2` and `table_count_idle=1`. Along with this we are not under-scanning as we get both the `table_count` and `table_count_idle` variables."}}