{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/367","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/367/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/367/events","html_url":"https://github.com/orientechnologies/orientdb/issues/367","id":9144198,"number":367,"title":"Support for rdbms like sequences [moved]","user":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/approved%20feature","name":"approved feature","color":"fbca04"},{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/17","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.2","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/17/labels","id":613160,"number":17,"title":"2.2","description":"","creator":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"open_issues":268,"closed_issues":107,"state":"open","created_at":"2014-03-28T13:17:36Z","updated_at":"2015-11-10T20:11:05Z","due_on":"2015-11-11T06:00:00Z","closed_at":null},"comments":36,"created_at":"2012-12-10T15:14:22Z","updated_at":"2015-11-11T06:17:18Z","closed_at":"2015-09-29T10:40:01Z","body":"This is [Issue 367](http://code.google.com/p/orient/issues/detail?id=367) moved from a Google Code project.\nAdded by 2011-05-20T05:44:14.000Z by [pieter.m...@gmail.com](http://code.google.com/u/105425430167625004620/).\nPlease review that bug for more context and additional comments, but update this bug.\n\n\nOriginal labels: Type-Enhancement, Priority-Low, v2.1.0\n\n### Original description\n\n    Our current use case wants to use a sequence to retrieve a unique number for every new transaction.\n    \n    Thanks\n    Pieter\n"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/155679564","html_url":"https://github.com/orientechnologies/orientdb/issues/367#issuecomment-155679564","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/367","id":155679564,"user":{"login":"decibel","id":235814,"avatar_url":"https://avatars.githubusercontent.com/u/235814?v=3","gravatar_id":"","url":"https://api.github.com/users/decibel","html_url":"https://github.com/decibel","followers_url":"https://api.github.com/users/decibel/followers","following_url":"https://api.github.com/users/decibel/following{/other_user}","gists_url":"https://api.github.com/users/decibel/gists{/gist_id}","starred_url":"https://api.github.com/users/decibel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decibel/subscriptions","organizations_url":"https://api.github.com/users/decibel/orgs","repos_url":"https://api.github.com/users/decibel/repos","events_url":"https://api.github.com/users/decibel/events{/privacy}","received_events_url":"https://api.github.com/users/decibel/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T06:17:18Z","updated_at":"2015-11-11T06:17:18Z","body":"My suggestion for distributed sequences would be to pre-assign a range of values to each node, though perhaps with how caching is being done that's what's actually happening?\r\n\r\nAlso, I can't tell if the sequence is being logged in WAL or not... be aware that if it isn't you can end up with values being re-used after a crash."}}