Skip to content

Commit 704e481

Browse files
TomTaylorLondonbmoscon
authored andcommitted
ChunkStore: no longer check for invalid chunks (pandas-dev#688)
1 parent b056153 commit 704e481

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

arctic/chunkstore/chunkstore.py

-8
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,6 @@ def __init__(self, arctic_lib):
8484
# Do we allow reading from secondaries
8585
self._allow_secondary = self._arctic_lib.arctic._allow_secondary
8686
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)
9587

9688
@mongo_retry
9789
def _reset(self):

0 commit comments

Comments
 (0)