From 26717f50c658ea2cf745a4e0042735d3fa21f214 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Fri, 11 Aug 2023 13:55:19 +0200 Subject: Make sure we always write "data" attachment hash for snapshotted oplog entries (#355) * Make sure we always write "data" attachment hash for snapshotted oplog entries * Make sure to add chunk mappings for files moved to attatchment in snapshot operation * fix inverted timoute for expiration (we don't want time expiry in these cases) * increase timeout for jupiter oplog in project to 3 min * changelog --- src/zenserver/projectstore/httpprojectstore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zenserver/projectstore/httpprojectstore.cpp') diff --git a/src/zenserver/projectstore/httpprojectstore.cpp b/src/zenserver/projectstore/httpprojectstore.cpp index 185f2783d..7e7517c33 100644 --- a/src/zenserver/projectstore/httpprojectstore.cpp +++ b/src/zenserver/projectstore/httpprojectstore.cpp @@ -936,7 +936,7 @@ HttpProjectService::HttpProjectService(CidStore& Store, ProjectStore* Projects, CbObjectWriter Cb; Cb << "id"sv << Log.OplogId() << "project"sv << Project->Identifier << "tempdir"sv << Log.TempPath().c_str() << "markerpath"sv << Log.MarkerPath().c_str() << "totalsize"sv << Log.TotalSize() << "opcount" - << Log.OplogCount() << "expired"sv << Project->IsExpired(GcClock::TimePoint::max(), Log); + << Log.OplogCount() << "expired"sv << Project->IsExpired(GcClock::TimePoint::min(), Log); HttpReq.WriteResponse(HttpResponseCode::OK, Cb.Save()); } -- cgit v1.2.3