jonatack
commented at 12:16 pm on January 7, 2022:
member
New helper function BlockManager::WriteBlockIndexDB() added in #23974 has a thread safety lock annotation in its declaration but is missing the corresponding run-time lock assertion in its definition.
Per doc/developer-notes.md: “Combine annotations in function declarations with run-time asserts in function definitions.”
refactor: add thread safety lock assertion to WriteBlockIndexDB()
The new helper function, BlockManager::WriteBlockIndexDB(),
has a thread safety lock annotation in its declaration but is
missing the corresponding run-time lock assertion in its definition.
Per doc/developer-notes.md: "Combine annotations in function
declarations with run-time asserts in function definitions."
1823766fc6
fanquake
commented at 12:23 pm on January 7, 2022:
member
This code doesn’t touch that pull. (It’s also been open for several months without ACKs, so I’m planning to split it up into smaller pulls to ease review.)
fanquake
commented at 12:36 pm on January 7, 2022:
member
This code doesn’t touch that pull.
That would be difficult given the code modified here has only been added to the repo since that PR was last rebased. I suggested combining because #22932 is full of changes very similar to this one.
jonatack
commented at 12:50 pm on January 7, 2022:
member
#22932 does not touch this function and there is no guarantee that it will be merged. I plan to reduce its scope or perhaps close it.
DrahtBot added the label
Block storage
on Jan 7, 2022
DrahtBot added the label
Refactoring
on Jan 7, 2022
DrahtBot
commented at 1:59 am on January 8, 2022:
member
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
#22564 ([WIP] refactor: Move mutable globals cleared in ::UnloadBlockIndex to BlockManager by dongcarl)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
MarcoFalke
commented at 8:08 am on January 8, 2022:
member
cr ACK1823766fc69a3d57767af11f182826533465f621
MarcoFalke merged this
on Jan 8, 2022
MarcoFalke closed this
on Jan 8, 2022
jonatack deleted the branch
on Jan 8, 2022
sidhujag referenced this in commit
191608dff8
on Jan 9, 2022
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2024-11-23 09:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me