Modify the jobId generation logic to produce unique IDs across all users 88/138688/3
authorMu-Woong Lee <muwoong.lee@samsung.com>
Thu, 13 Jul 2017 08:14:50 +0000 (17:14 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 14 Jul 2017 10:12:44 +0000 (10:12 +0000)
commitbc576fb4e90a170883982fab3a8faa3c5f979a91
treef86a9e336f33dff986da72fcba7afe051829c8b7
parent6eea076de1bc18a4c134a3523df1b7bc4782031c
Modify the jobId generation logic to produce unique IDs across all users

If a jobId has been returned by removing a job, the same ID can be used later.

Change-Id: Ib2d36d03c5bbc78eedbce28e60f227310cd1fc2f
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/server/JobInfoDatabase.cpp
src/server/JobInfoDatabase.h
src/server/JobManager.cpp
src/server/JobManager.h