ARPA-SIMC / arkimet

A set of tools to organize, archive and distribute data files.
Other
15 stars 5 forks source link

Separate dataset session from dataset pool #250

Closed spanezz closed 3 years ago

spanezz commented 3 years ago

At the moment the dataset Session can keep a pool of references to known datasets. And each dataset needs to keep a reference to the session.

This created a circular std::shared_ptr reference loop, which makes it impossible to ever deallocate the session and the datasets it has in the pool.

I'll have to split the session and the pool into two different objects