{"action":"closed","issue":{"url":"https://api.github.com/repos/Jumpst3r/proj-kvs-g1-2018/issues/2","repository_url":"https://api.github.com/repos/Jumpst3r/proj-kvs-g1-2018","labels_url":"https://api.github.com/repos/Jumpst3r/proj-kvs-g1-2018/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Jumpst3r/proj-kvs-g1-2018/issues/2/comments","events_url":"https://api.github.com/repos/Jumpst3r/proj-kvs-g1-2018/issues/2/events","html_url":"https://github.com/Jumpst3r/proj-kvs-g1-2018/issues/2","id":313792366,"number":2,"title":"Dynamic resizing does not work","user":{"login":"Jumpst3r","id":19805599,"avatar_url":"https://avatars0.githubusercontent.com/u/19805599?v=4","gravatar_id":"","url":"https://api.github.com/users/Jumpst3r","html_url":"https://github.com/Jumpst3r","followers_url":"https://api.github.com/users/Jumpst3r/followers","following_url":"https://api.github.com/users/Jumpst3r/following{/other_user}","gists_url":"https://api.github.com/users/Jumpst3r/gists{/gist_id}","starred_url":"https://api.github.com/users/Jumpst3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jumpst3r/subscriptions","organizations_url":"https://api.github.com/users/Jumpst3r/orgs","repos_url":"https://api.github.com/users/Jumpst3r/repos","events_url":"https://api.github.com/users/Jumpst3r/events{/privacy}","received_events_url":"https://api.github.com/users/Jumpst3r/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"TheLoooser","id":22820733,"avatar_url":"https://avatars0.githubusercontent.com/u/22820733?v=4","gravatar_id":"","url":"https://api.github.com/users/TheLoooser","html_url":"https://github.com/TheLoooser","followers_url":"https://api.github.com/users/TheLoooser/followers","following_url":"https://api.github.com/users/TheLoooser/following{/other_user}","gists_url":"https://api.github.com/users/TheLoooser/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLoooser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLoooser/subscriptions","organizations_url":"https://api.github.com/users/TheLoooser/orgs","repos_url":"https://api.github.com/users/TheLoooser/repos","events_url":"https://api.github.com/users/TheLoooser/events{/privacy}","received_events_url":"https://api.github.com/users/TheLoooser/received_events","type":"User","site_admin":false},"assignees":[{"login":"TheLoooser","id":22820733,"avatar_url":"https://avatars0.githubusercontent.com/u/22820733?v=4","gravatar_id":"","url":"https://api.github.com/users/TheLoooser","html_url":"https://github.com/TheLoooser","followers_url":"https://api.github.com/users/TheLoooser/followers","following_url":"https://api.github.com/users/TheLoooser/following{/other_user}","gists_url":"https://api.github.com/users/TheLoooser/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLoooser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLoooser/subscriptions","organizations_url":"https://api.github.com/users/TheLoooser/orgs","repos_url":"https://api.github.com/users/TheLoooser/repos","events_url":"https://api.github.com/users/TheLoooser/events{/privacy}","received_events_url":"https://api.github.com/users/TheLoooser/received_events","type":"User","site_admin":false},{"login":"iTsHeQ","id":37482264,"avatar_url":"https://avatars0.githubusercontent.com/u/37482264?v=4","gravatar_id":"","url":"https://api.github.com/users/iTsHeQ","html_url":"https://github.com/iTsHeQ","followers_url":"https://api.github.com/users/iTsHeQ/followers","following_url":"https://api.github.com/users/iTsHeQ/following{/other_user}","gists_url":"https://api.github.com/users/iTsHeQ/gists{/gist_id}","starred_url":"https://api.github.com/users/iTsHeQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iTsHeQ/subscriptions","organizations_url":"https://api.github.com/users/iTsHeQ/orgs","repos_url":"https://api.github.com/users/iTsHeQ/repos","events_url":"https://api.github.com/users/iTsHeQ/events{/privacy}","received_events_url":"https://api.github.com/users/iTsHeQ/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-04-12T16:05:06Z","updated_at":"2018-04-15T07:44:22Z","closed_at":"2018-04-15T07:44:22Z","author_association":"OWNER","body":"# Dynamic resizing concept:\r\nWhen the hash table load factor `KVS->load / KVS->maxsize` exceeds 0.75, we create a new KVS + hashtable of size `1.5 * KVS->maxsize`. We then need to loop through all elements of the old KVS and insert them with `void insert_new(kvs_t *kvsn, kvp_t kvp)` into the new KVS, then we overwrite the KVS pointer.\r\n\r\nsee the `resize()` for more information\r\n\r\n## The problem is\r\nThe `void insert_new(kvs_t *kvsn, kvp_t kvp)` is stuck in the while loop."}}
{"actor":{"display_login":"Jumpst3r"}}