- fixed bug in validator causing it to validate files in excluded directories and updated the pre-commit hook
 - hardware uniqueness is now based on the cpu, memory, storage, and storage_type fields, fixes #230
 - initial settings of a minval/maxval for a session knob are calculated based on its resource type and the user's hardware
 - squashed migrations
This commit is contained in:
Dana Van Aken
2019-10-03 02:08:11 -04:00
parent c14a337695
commit e676433ece
26 changed files with 408 additions and 442 deletions

View File

@@ -84,7 +84,7 @@
"category": "Resource Usage / Asynchronous Behavior",
"maxval": 262143,
"dbms": 4,
"resource": 4,
"resource": 2,
"name": "global.max_worker_processes",
"minval": 0,
"default": 8,

View File

@@ -3095,7 +3095,7 @@
"summary": "Sets the maximum number of parallel processes per executor node.",
"unit": "3",
"description": "",
"resource": "4"
"resource": "2"
},
"model": "website.KnobCatalog"
},
@@ -3255,7 +3255,7 @@
"summary": "Sets the WAL size that triggers a checkpoint.",
"unit": "1",
"description": "",
"resource": "4"
"resource": "3"
},
"model": "website.KnobCatalog"
},
@@ -3275,7 +3275,7 @@
"summary": "Maximum number of concurrent worker processes.",
"unit": "3",
"description": "",
"resource": "4"
"resource": "2"
},
"model": "website.KnobCatalog"
},
@@ -3315,7 +3315,7 @@
"summary": "Sets the minimum size to shrink the WAL to.",
"unit": "1",
"description": "",
"resource": "4"
"resource": "3"
},
"model": "website.KnobCatalog"
},

View File

@@ -12,13 +12,11 @@
},
{
"fields": {
"type": 1,
"name": "New Hardware",
"cpu": 4,
"memory": 16.0,
"storage": "32",
"storage_type": "",
"additional_specs": ""
"memory": 16,
"storage": 32,
"storage_type": 5,
"additional_specs": null
},
"model": "website.Hardware",
"pk": 1

File diff suppressed because one or more lines are too long