Skip to content

Commit eb2c367

Browse files
authored
Merge pull request pandas-dev#801 from shashank88/fwd_dis
Hardcode fwd pointer disabling
2 parents 2f30126 + 9e27152 commit eb2c367

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

arctic/_config.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,8 @@ class FwPointersCfg(Enum):
5151
FW_POINTERS_CONFIG_KEY = 'FW_POINTERS_CONFIG'
5252

5353
# This variable has effect only in Hybrid mode, and controls whether forward and legacy pointers are cross-verified
54-
ARCTIC_FORWARD_POINTERS_RECONCILE = bool(os.environ.get('ARCTIC_FORWARD_POINTERS_RECONCILE'))
55-
try:
56-
# Controls the mode of operation for FW pointers, has effect on any new versions created
57-
ARCTIC_FORWARD_POINTERS_CFG = FwPointersCfg[(os.environ.get('ARCTIC_FORWARD_POINTERS_CFG',
58-
FwPointersCfg.DISABLED.name).upper())]
59-
except Exception:
60-
logger.exception("Failed to configure forward pointers with configuration {}".format(
61-
os.environ.get('ARCTIC_FORWARD_POINTERS_CFG')))
62-
ARCTIC_FORWARD_POINTERS_CFG = FwPointersCfg.DISABLED
63-
54+
ARCTIC_FORWARD_POINTERS_RECONCILE = False
55+
ARCTIC_FORWARD_POINTERS_CFG = FwPointersCfg.DISABLED
6456

6557
# ---------------------------
6658
# Compression configuration

0 commit comments

Comments
 (0)