Skip to content

Conversation

practicalswift
Copy link
Contributor

@practicalswift practicalswift commented Jan 17, 2019

  • Add missing cs_LastBlockFile locks in PruneAndFlush() and UnloadBlockIndex().
  • Add missing locking annotation for nLastBlockFile and fCheckForPruning.
  • Add missing locking annotation for nBlockSequenceId which is guarded by cs_nBlockSequenceId.
  • Add missing cs_nBlockSequenceId lock in UnloadBlockIndex().

@practicalswift practicalswift changed the title validation: Add missing cs_LastBlockFile locks in PruneAndFlush() and UnloadBlockIndex(). Add missing locking annotation for nLastBlockFile and fCheckForPruning. validation: Add missing locks in PruneAndFlush() and UnloadBlockIndex(). Add missing locking annotation for nLastBlockFile and fCheckForPruning. Jan 17, 2019
@practicalswift practicalswift changed the title validation: Add missing locks in PruneAndFlush() and UnloadBlockIndex(). Add missing locking annotation for nLastBlockFile and fCheckForPruning. validation: Add missing locks in PruneAndFlush() and UnloadBlockIndex(). Add missing locking annotations for nLastBlockFile, fCheckForPruning and nBlockSequenceId. Jan 17, 2019
@practicalswift practicalswift changed the title validation: Add missing locks in PruneAndFlush() and UnloadBlockIndex(). Add missing locking annotations for nLastBlockFile, fCheckForPruning and nBlockSequenceId. validation: Add missing locks in PruneAndFlush() and UnloadBlockIndex(). Add missing locking annotations. Jan 17, 2019
@practicalswift practicalswift changed the title validation: Add missing locks in PruneAndFlush() and UnloadBlockIndex(). Add missing locking annotations. validation: Add missing cs_{LastBlockFile,nBlockSequenceId} locks in PruneAndFlush() and UnloadBlockIndex(). Add missing locking annotations. Jan 17, 2019
@practicalswift
Copy link
Contributor Author

@MarcoFalke Could this one get a release milestone? :-)

@DrahtBot
Copy link
Contributor

DrahtBot commented Mar 15, 2019

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #16194 (refactor: share blockmetadata with BlockManager by jamesob)

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.

@practicalswift
Copy link
Contributor Author

Rebased!

@practicalswift
Copy link
Contributor Author

@MarcoFalke Should this locking PR be closed? Please advice.

@maflcko
Copy link
Member

maflcko commented Jun 26, 2019

Concept ACK

@maflcko maflcko added this to the 0.19.0 milestone Jun 26, 2019
… UnloadBlockIndex(). Add missing locking annotation for nLastBlockFile and fCheckForPruning.
…). Add missing locking annotation for nBlockSequenceId.
@DrahtBot
Copy link
Contributor

Needs rebase

@dongcarl
Copy link
Contributor

Wondering if this change is still necessary and conceptually sound?

@practicalswift
Copy link
Contributor Author

practicalswift commented Dec 27, 2020

@dongcarl

I haven't looked at this since closing, but IIRC I closed it due to lack of progress only (only one Concept ACK over seven months 😢 ).

Feel free to pick it up: I'd be glad to review :)

@practicalswift practicalswift deleted the cs_LastBlockFile branch April 10, 2021 19:38
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants