Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make cortex, view, and layer idens to be unique #1402

Merged
merged 12 commits into from Oct 24, 2019
Merged

Make cortex, view, and layer idens to be unique #1402

merged 12 commits into from Oct 24, 2019

Conversation

jnwatson
Copy link
Contributor

Note that this will change the iden of the view and the default layer.

Note that this will change the iden of the view and the default layer.
@vEpiphyte vEpiphyte added this to the v0.1.32 milestone Oct 18, 2019
Copy link
Contributor

@invisig0th invisig0th left a comment

Choose a reason for hiding this comment

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

Looking really good! Few small tweaks and one big question ;)

synapse/cortex.py Outdated Show resolved Hide resolved
synapse/cortex.py Outdated Show resolved Hide resolved
synapse/lib/hive.py Show resolved Hide resolved
synapse/lib/hive.py Outdated Show resolved Hide resolved
synapse/cortex.py Show resolved Hide resolved
synapse/cortex.py Outdated Show resolved Hide resolved
Copy link
Contributor

@vEpiphyte vEpiphyte left a comment

Choose a reason for hiding this comment

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

minor hive notes; need to add a regression test.

jnwatson and others added 6 commits October 19, 2019 19:44
* Remove cortex _moveDict,
* Add tests for hive rename and exists
* Remove a duplicate slab offset class
* Add an additional delete method to slab offset class
* Add unit tests for slab offset
This is for future expansion where the write layer might change.
@vEpiphyte vEpiphyte modified the milestones: v0.1.32, v0.1.33 Oct 22, 2019
@vertexproject vertexproject deleted a comment from codecov bot Oct 23, 2019
invisig0th
invisig0th previously approved these changes Oct 23, 2019
@codecov
Copy link

codecov bot commented Oct 24, 2019

Codecov Report

Merging #1402 into master will decrease coverage by 0.06%.
The diff coverage is 98.98%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1402      +/-   ##
==========================================
- Coverage   95.18%   95.11%   -0.07%     
==========================================
  Files         133      133              
  Lines       19598    19649      +51     
==========================================
+ Hits        18654    18690      +36     
- Misses        944      959      +15
Flag Coverage Δ
#linux 95.11% <98.98%> (-0.03%) ⬇️
#osx ?
Impacted Files Coverage Δ
synapse/lib/lmdbslab.py 98.9% <ø> (-0.18%) ⬇️
synapse/lib/lmdblayer.py 92.05% <100%> (-0.41%) ⬇️
synapse/cryotank.py 87.79% <100%> (+0.07%) ⬆️
synapse/lib/hive.py 97.11% <100%> (+0.07%) ⬆️
synapse/lib/view.py 94.23% <100%> (ø) ⬆️
synapse/lib/remotelayer.py 93.02% <100%> (+0.25%) ⬆️
synapse/lib/layer.py 91.74% <100%> (+0.08%) ⬆️
synapse/lib/cell.py 95.04% <100%> (+0.03%) ⬆️
synapse/lib/slaboffs.py 100% <100%> (ø) ⬆️
synapse/exc.py 100% <100%> (ø) ⬆️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33c1309...f536c10. Read the comment docs.

@jnwatson jnwatson merged commit f1e5020 into master Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants