NSLS-II / metadatastore

DEPRECATED: Incorporated into https://github.com/NSLS-II/databroker
Other
2 stars 11 forks source link

Sentinels #232

Closed danielballan closed 7 years ago

danielballan commented 8 years ago

As discussed offline, this future-proofs MDS for the next schema change (which we all hope won't happen for a long time). Deploying it will require running

from metadatastore.utils import install_sentinels
import metadatastore.conf
install_sentinels(metadatastore.conf.connection_config, 1)

just as we did for filestore v0.4.0 deployment.

This copies the sentinels-related code from FS verbatim with only two changes:

The MDS test utils have also been updated to use create_test_database.

codecov-io commented 8 years ago

Current coverage is 87.99%

Merging #232 into master will increase coverage by 1.19%

@@             master       #232   diff @@
==========================================
  Files             7          8     +1   
  Lines           871        899    +28   
  Methods           0          0          
  Messages          0          0          
  Branches        146        152     +6   
==========================================
+ Hits            756        791    +35   
+ Misses           85         77     -8   
- Partials         30         31     +1   

Powered by Codecov. Last updated by 1714726...d96316d

danielballan commented 8 years ago

bump @tacaswell

danielballan commented 7 years ago

To be continued in NSLS-II databroker