Fix thread synchronization when clear cache 36/266836/2
authorIlho Kim <ilho159.kim@samsung.com>
Fri, 19 Nov 2021 08:15:18 +0000 (17:15 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Fri, 19 Nov 2021 08:24:24 +0000 (17:24 +0900)
commit9e1c0676ccdd1b46e8200c0ee243a66110703cd8
tree15f92472d13defe3b9f5b36b6147f8b544811d01
parent4977a97906402b1c18948c7781a3b162923934bb
Fix thread synchronization when clear cache

RemoveCache operation need to get lock before operation
for syncronization with other read threads

Change-Id: I3cd78d81e6d4612a6f19531d8c7bda5e8cf883f5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/server/database/remove_cache_db_handler.cc [new file with mode: 0644]
src/server/database/remove_cache_db_handler.hh [new file with mode: 0644]
src/server/request_handler/command_request_handler.cc