{"action":"created","issue":{"url":"https://api.github.com/repos/zbs4ms/ids/issues/1","labels_url":"https://api.github.com/repos/zbs4ms/ids/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/zbs4ms/ids/issues/1/comments","events_url":"https://api.github.com/repos/zbs4ms/ids/issues/1/events","html_url":"https://github.com/zbs4ms/ids/issues/1","id":107139305,"number":1,"title":"64位ID生成最大值问题","user":{"login":"JamesZBo","id":5005014,"avatar_url":"https://avatars.githubusercontent.com/u/5005014?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesZBo","html_url":"https://github.com/JamesZBo","followers_url":"https://api.github.com/users/JamesZBo/followers","following_url":"https://api.github.com/users/JamesZBo/following{/other_user}","gists_url":"https://api.github.com/users/JamesZBo/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesZBo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesZBo/subscriptions","organizations_url":"https://api.github.com/users/JamesZBo/orgs","repos_url":"https://api.github.com/users/JamesZBo/repos","events_url":"https://api.github.com/users/JamesZBo/events{/privacy}","received_events_url":"https://api.github.com/users/JamesZBo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-18T06:00:24Z","updated_at":"2015-09-18T06:05:17Z","closed_at":null,"body":"由于lua脚本对64位整数处理的局限性，64位ID生成时的最大值过小，需要扩展lua脚本处理64位数据的能力"},"comment":{"url":"https://api.github.com/repos/zbs4ms/ids/issues/comments/141354087","html_url":"https://github.com/zbs4ms/ids/issues/1#issuecomment-141354087","issue_url":"https://api.github.com/repos/zbs4ms/ids/issues/1","id":141354087,"user":{"login":"zbs4ms","id":6925401,"avatar_url":"https://avatars.githubusercontent.com/u/6925401?v=3","gravatar_id":"","url":"https://api.github.com/users/zbs4ms","html_url":"https://github.com/zbs4ms","followers_url":"https://api.github.com/users/zbs4ms/followers","following_url":"https://api.github.com/users/zbs4ms/following{/other_user}","gists_url":"https://api.github.com/users/zbs4ms/gists{/gist_id}","starred_url":"https://api.github.com/users/zbs4ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbs4ms/subscriptions","organizations_url":"https://api.github.com/users/zbs4ms/orgs","repos_url":"https://api.github.com/users/zbs4ms/repos","events_url":"https://api.github.com/users/zbs4ms/events{/privacy}","received_events_url":"https://api.github.com/users/zbs4ms/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T06:05:17Z","updated_at":"2015-09-18T06:05:17Z","body":"现在生成的顺序64位，其实真是情况是小于64位，而非等于64位。如果需要强等于64位，需要扩展lua对超过最大位数处理的功能。考虑使用固定位数截断处理，最后再拼接的方式，好处逻辑简单方便开发，不好的地方，只能处理一个固定的最大值（比如最大64位）。"}}