{"action":"created","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/7117","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/7117/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/7117/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/7117/events","html_url":"https://github.com/hazelcast/hazelcast/pull/7117","id":122963850,"number":7117,"title":"Synced SecondsBasedEntryTaskScheduler to overcome race conditions","user":{"login":"gurbuzali","id":1741680,"avatar_url":"https://avatars.githubusercontent.com/u/1741680?v=3","gravatar_id":"","url":"https://api.github.com/users/gurbuzali","html_url":"https://github.com/gurbuzali","followers_url":"https://api.github.com/users/gurbuzali/followers","following_url":"https://api.github.com/users/gurbuzali/following{/other_user}","gists_url":"https://api.github.com/users/gurbuzali/gists{/gist_id}","starred_url":"https://api.github.com/users/gurbuzali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurbuzali/subscriptions","organizations_url":"https://api.github.com/users/gurbuzali/orgs","repos_url":"https://api.github.com/users/gurbuzali/repos","events_url":"https://api.github.com/users/gurbuzali/events{/privacy}","received_events_url":"https://api.github.com/users/gurbuzali/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Team:%20Core","name":"Team: Core","color":"109def"},{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Type:%20Test-Failure","name":"Type: Test-Failure","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/61","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.6","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/61/labels","id":982584,"number":61,"title":"3.6","description":"","creator":{"login":"enesakar","id":234086,"avatar_url":"https://avatars.githubusercontent.com/u/234086?v=3","gravatar_id":"","url":"https://api.github.com/users/enesakar","html_url":"https://github.com/enesakar","followers_url":"https://api.github.com/users/enesakar/followers","following_url":"https://api.github.com/users/enesakar/following{/other_user}","gists_url":"https://api.github.com/users/enesakar/gists{/gist_id}","starred_url":"https://api.github.com/users/enesakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enesakar/subscriptions","organizations_url":"https://api.github.com/users/enesakar/orgs","repos_url":"https://api.github.com/users/enesakar/repos","events_url":"https://api.github.com/users/enesakar/events{/privacy}","received_events_url":"https://api.github.com/users/enesakar/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":1099,"state":"open","created_at":"2015-02-17T09:27:09Z","updated_at":"2015-12-19T09:43:45Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-12-18T15:03:52Z","updated_at":"2015-12-19T15:38:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/7117","html_url":"https://github.com/hazelcast/hazelcast/pull/7117","diff_url":"https://github.com/hazelcast/hazelcast/pull/7117.diff","patch_url":"https://github.com/hazelcast/hazelcast/pull/7117.patch"},"body":"- Removed `flush` and `size` methods from `EntryTaskScheduler` interface since they were not used\r\n- Removed `ScheduleType.SCHEDULE_IF_NEW` since it was not used, no need to maintain something which we do not use.\r\n- Made SecondsBasedEntryTaskScheduler synchronized to overcome race conditions, converted `ConcurrentMap`s to normal maps since they are not necessary anymore.\r\n\r\nfixes https://github.com/hazelcast/hazelcast/issues/7094\r\nfixes #6141"},"comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/comments/165997274","html_url":"https://github.com/hazelcast/hazelcast/pull/7117#issuecomment-165997274","issue_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/7117","id":165997274,"user":{"login":"jerrinot","id":158619,"avatar_url":"https://avatars.githubusercontent.com/u/158619?v=3","gravatar_id":"","url":"https://api.github.com/users/jerrinot","html_url":"https://github.com/jerrinot","followers_url":"https://api.github.com/users/jerrinot/followers","following_url":"https://api.github.com/users/jerrinot/following{/other_user}","gists_url":"https://api.github.com/users/jerrinot/gists{/gist_id}","starred_url":"https://api.github.com/users/jerrinot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerrinot/subscriptions","organizations_url":"https://api.github.com/users/jerrinot/orgs","repos_url":"https://api.github.com/users/jerrinot/repos","events_url":"https://api.github.com/users/jerrinot/events{/privacy}","received_events_url":"https://api.github.com/users/jerrinot/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T15:38:06Z","updated_at":"2015-12-19T15:38:06Z","body":"@gurbuzali: is there any area where this could in theory cause contention? What part of system use the scheduler most intensively? "}}