Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Make sure defBy{Id,TagSet} use same pointers#1303

Merged
Dieterbe merged 1 commit intografana:masterfrom
bloomberg:fix_overpruning
May 7, 2019
Merged

Make sure defBy{Id,TagSet} use same pointers#1303
Dieterbe merged 1 commit intografana:masterfrom
bloomberg:fix_overpruning

Conversation

@shanson7
Copy link
Copy Markdown
Collaborator

@shanson7 shanson7 commented May 6, 2019

The gist of the issue I was seeing that this is an attempt to fix is prune clearing out the wrong series. It seems that the pointers in defByTagSet are not to the same underlying data as the archive in defById. This means:

  1. Updating LastUpdate in the one referenced by defById is not reflected in defByTagSet.
  2. defByTagSet.defs can return defs that do not match the def requested.

Copy link
Copy Markdown
Contributor

@Dieterbe Dieterbe left a comment

Choose a reason for hiding this comment

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

thanks Sean!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants