We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b056153 commit 704e481Copy full SHA for 704e481
arctic/chunkstore/chunkstore.py
@@ -84,14 +84,6 @@ def __init__(self, arctic_lib):
84
# Do we allow reading from secondaries
85
self._allow_secondary = self._arctic_lib.arctic._allow_secondary
86
self._reset()
87
- self._check_invalid_segment()
88
-
89
- def _check_invalid_segment(self):
90
- # Issue 442
91
- # for legacy data that was incorectly marked with segment start of -1
92
- for symbol in self.list_symbols():
93
- if mongo_count(self._collection, filter={SYMBOL: symbol, SEGMENT: -1}) > 1:
94
- logger.warning("Symbol %s has malformed segments. Data must be rewritten or fixed with chunkstore segment_id_repair tool" % symbol)
95
96
@mongo_retry
97
def _reset(self):
0 commit comments