more logging

This commit is contained in:
Evan Tschannen 2021-03-18 21:34:04 -07:00
parent f81e5142cb
commit 67b9e49d99
1 changed files with 2 additions and 1 deletions

View File

@ -482,8 +482,9 @@ public:
*self->firstPages[1] = *(const Page*)pageData.begin();
}
DbgPage* dbgPage = *(DbgPage*)pageData.begin();
TraceEvent("RDQWrite", self->dbgid).detail("File1name", self->files[1].dbgFilename).detail("File1size", self->files[1].size)
.detail("WritingPos", self->writingPos).detail("WritingBytes", pageData.size());
.detail("WritingPos", self->writingPos).detail("WritingBytes", pageData.size()).detail("Seq", dbgPage->seq);
self->files[1].size = std::max(self->files[1].size, self->writingPos + pageData.size());
toSync->push_back(self->files[1].syncQueue);
waitfor.push_back(self->files[1].f->write(pageData.begin(), pageData.size(), self->writingPos));