Skip to content

More carefully cache transaction logs when we do not (yet) have acces…#400

Closed
kriszyp wants to merge 1 commit intomainfrom
safely-load-logs
Closed

More carefully cache transaction logs when we do not (yet) have acces…#400
kriszyp wants to merge 1 commit intomainfrom
safely-load-logs

Conversation

@kriszyp
Copy link
Copy Markdown
Member

@kriszyp kriszyp commented Apr 23, 2026

…s node ids

@kriszyp kriszyp marked this pull request as ready for review April 23, 2026 20:31
@kriszyp kriszyp requested a review from a team as a code owner April 23, 2026 20:31
}
this.updates++;
this.logByName.set(logName, log);
return nodeId;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ensureLogExists() returns return this.addLogToMaps(log);, so removing this could potentially affect whatever calls ensureLogExists()... which currently looks like nothing. 🙃

Consider either reverting this or update ensureLogExists() to not explicitly return a value;.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants