@@ -49,7 +49,7 @@ HttpManager::HttpManager(HSHomeObject& ho) : ho_(ho) {
4949 Pistache::Rest::Routes::bind (&HttpManager::dump_chunk, this )},
5050 {Pistache::Http::Method::Get, " /api/v1/shard/dump" ,
5151 Pistache::Rest::Routes::bind (&HttpManager::dump_shard, this )},
52- {Pistache::Http::Method::Get , " /api/v1/trigger_gc" ,
52+ {Pistache::Http::Method::Post , " /api/v1/trigger_gc" ,
5353 Pistache::Rest::Routes::bind (&HttpManager::trigger_gc, this )},
5454 {Pistache::Http::Method::Get, " /api/v1/gc_job_status" ,
5555 Pistache::Rest::Routes::bind (&HttpManager::get_gc_job_status, this )}};
@@ -313,7 +313,7 @@ void HttpManager::trigger_gc(const Pistache::Rest::Request& request, Pistache::H
313313 // Submit GC task for this chunk
314314 auto future = gc_mgr->submit_gc_task (priority, chunk_id);
315315 gc_task_futures.push_back (std::move (future));
316- LOGDEBUG (" GC job {} in PG {} with priority={}" , job_id, chunk_id, pg_id,
316+ LOGDEBUG (" GC job {} for chunk {} in PG {} with priority={}" , job_id, chunk_id, pg_id,
317317 (priority == task_priority::emergent) ? " emergent" : " normal" );
318318 }
319319 }
0 commit comments