diff --git a/synapse/cores/common.py b/synapse/cores/common.py
index 29a17931e..69634180c 100644
--- a/synapse/cores/common.py
+++ b/synapse/cores/common.py
@@ -2036,7 +2036,7 @@ class Cortex(EventBus, DataModel, Runtime, Configable, s_ingest.IngestApi):
             self.delTufoDset(tufo, name)
 
         if self.caching:
-            for prop, valu in tufo[1].items():
+            for prop, valu in list(tufo[1].items()):
                 self._bumpTufoCache(tufo, prop, valu, None)
 
         iden = tufo[0]

delTufo dictionary changed during iteration
```
cli> ask inet:fqdn=woowoowoowoo.com delnode(force=1)
oplog:
    lift (took:0) {'took': 0, 'sub': 0, 'add': 1, 'mnem': 'lift'}
    delnode (took:1) {'excinfo': {'errfile': '/home/autouser/git/synapse/synapse/cores/common.py', 'errline': 2037, 'err': 'RuntimeError', 'errmsg': 'dictionary changed size during iteration'}, 'took': 1, 'sub': 1, 'add': 0, 'mnem': 'delnode'}

options:
    limit = None
    uniq = 1

limits:
    lift = None
    time = None
    touch = None

(0 results)
```
diff --git a/synapse/tests/test_cortex.py b/synapse/tests/test_cortex.py
index 24707a38d..4e1eb7a64 100644
--- a/synapse/tests/test_cortex.py
+++ b/synapse/tests/test_cortex.py
@@ -1143,12 +1143,17 @@ class CortexTest(SynTest):
             tufs1 = core.getTufosByProp('foo:qwer', valu=10)
             tufs2 = core.getTufosByProp('foo:qwer', valu=11)
 
+            # Ensure we have cached the tufos we're deleting.
+            self.nn(core.cache_byiden.get(tufo0[0]))
+            self.nn(core.cache_byiden.get(tufo1[0]))
+
             self.eq(len(tufs0), 2)
             self.eq(len(tufs1), 2)
             self.eq(len(tufs2), 0)
 
+            # Delete an uncached object - here the tufo contents was cached
+            # during lifts but the object itself is a different tuple id()
             core.delTufo(tufo0)
-            #tufo2 = core.formTufoByProp('foo','lol', qwer=10)
 
             tufs0 = core.getTufosByProp('foo:qwer')
             tufs1 = core.getTufosByProp('foo:qwer', valu=10)
@@ -1158,6 +1163,11 @@ class CortexTest(SynTest):
             self.eq(len(tufs1), 1)
             self.eq(len(tufs2), 0)
 
+            # Delete an object which was actually cached during lift
+            core.delTufo(tufs0[0])
+            tufs0 = core.getTufosByProp('foo:qwer')
+            self.eq(len(tufs0), 0)
+
     def test_cortex_caching_atlimit(self):
 
         with s_cortex.openurl('ram://') as core:
diff --git a/synapse/tests/test_lib_storm.py b/synapse/tests/test_lib_storm.py
index 0c146c1c0..e4236c6b4 100644
--- a/synapse/tests/test_lib_storm.py
+++ b/synapse/tests/test_lib_storm.py
@@ -439,6 +439,15 @@ class StormTest(SynTest):
             core.eval('inet:ipv4=1.2.3.4 delnode(force=1)')
             self.none(core.getTufoByProp('inet:ipv4', 0x01020304))
 
+    def test_storm_delnode_caching(self):
+        with s_cortex.openurl('ram:///') as core:
+            core.setConfOpt('caching', True)
+            node = core.formTufoByProp('inet:ipv4', 0x01020304)
+            core.eval('inet:ipv4=1.2.3.4 delnode()')
+            self.nn(core.getTufoByProp('inet:ipv4', 0x01020304))
+            core.eval('inet:ipv4=1.2.3.4 delnode(force=1)')
+            self.none(core.getTufoByProp('inet:ipv4', 0x01020304))
+
     def test_storm_editmode(self):
         with s_cortex.openurl('ram:///') as core:
             node = core.formTufoByProp('inet:ipv4', 0x01020304)

pip install -e .
parse_log_pytest
pytest
nose nose-cov pytest
apt-get update apt-get install -y gcc
3.6
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
cffi==1.15.1
cov-core==1.15.0
coverage==6.2
cryptography==40.0.2
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
lmdb==1.6.2
more-itertools @ file:///tmp/build/80754af9/more-itertools_1637733554872/work
msgpack-python==0.5.6
nose==1.3.7
nose-cov==1.6
packaging @ file:///tmp/build/80754af9/packaging_1637314298585/work
pluggy @ file:///tmp/build/80754af9/pluggy_1615976315926/work
py @ file:///opt/conda/conda-bld/py_1644396412707/work
pycparser==2.21
pyOpenSSL==23.2.0
pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
pytest==6.2.4
-e git+https://github.com/vertexproject/synapse.git@82966be7ae8b614ae15eb42b3bf7b8306e5604bf#egg=synapse
toml @ file:///tmp/build/80754af9/toml_1616166611790/work
tornado==6.1
typing_extensions @ file:///opt/conda/conda-bld/typing_extensions_1647553014482/work
xxhash==3.2.0
zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work

name: synapse
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - attrs=21.4.0=pyhd3eb1b0_0
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - importlib-metadata=4.8.1=py36h06a4308_0
  - importlib_metadata=4.8.1=hd3eb1b0_0
  - iniconfig=1.1.1=pyhd3eb1b0_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - more-itertools=8.12.0=pyhd3eb1b0_0
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - packaging=21.3=pyhd3eb1b0_0
  - pip=21.2.2=py36h06a4308_0
  - pluggy=0.13.1=py36h06a4308_0
  - py=1.11.0=pyhd3eb1b0_0
  - pyparsing=3.0.4=pyhd3eb1b0_0
  - pytest=6.2.4=py36h06a4308_2
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - toml=0.10.2=pyhd3eb1b0_0
  - typing_extensions=4.1.1=pyh06a4308_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zipp=3.6.0=pyhd3eb1b0_0
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - cffi==1.15.1
      - cov-core==1.15.0
      - coverage==6.2
      - cryptography==40.0.2
      - lmdb==1.6.2
      - msgpack-python==0.5.6
      - nose==1.3.7
      - nose-cov==1.6
      - pycparser==2.21
      - pyopenssl==23.2.0
      - tornado==6.1
      - xxhash==3.2.0
prefix: /opt/conda/envs/synapse

synapse/tests/test_cortex.py::CortexTest::test_cortex_caching_del_tufo synapse/tests/test_lib_storm.py::StormTest::test_storm_delnode_caching
synapse/tests/test_cortex.py::CortexTest::test_cortex_addmodel synapse/tests/test_cortex.py::CortexTest::test_cortex_by_type synapse/tests/test_cortex.py::CortexTest::test_cortex_bytype synapse/tests/test_cortex.py::CortexTest::test_cortex_caching synapse/tests/test_cortex.py::CortexTest::test_cortex_caching_add_tufo synapse/tests/test_cortex.py::CortexTest::test_cortex_caching_atlimit synapse/tests/test_cortex.py::CortexTest::test_cortex_caching_new synapse/tests/test_cortex.py::CortexTest::test_cortex_caching_oneref synapse/tests/test_cortex.py::CortexTest::test_cortex_caching_set synapse/tests/test_cortex.py::CortexTest::test_cortex_caching_tags synapse/tests/test_cortex.py::CortexTest::test_cortex_caching_under_limit synapse/tests/test_cortex.py::CortexTest::test_cortex_choptag synapse/tests/test_cortex.py::CortexTest::test_cortex_comp synapse/tests/test_cortex.py::CortexTest::test_cortex_dict synapse/tests/test_cortex.py::CortexTest::test_cortex_enforce synapse/tests/test_cortex.py::CortexTest::test_cortex_events synapse/tests/test_cortex.py::CortexTest::test_cortex_fire_set synapse/tests/test_cortex.py::CortexTest::test_cortex_getbytag synapse/tests/test_cortex.py::CortexTest::test_cortex_ingest synapse/tests/test_cortex.py::CortexTest::test_cortex_isnew synapse/tests/test_cortex.py::CortexTest::test_cortex_lmdb synapse/tests/test_cortex.py::CortexTest::test_cortex_local synapse/tests/test_cortex.py::CortexTest::test_cortex_minmax synapse/tests/test_cortex.py::CortexTest::test_cortex_minmax_epoch synapse/tests/test_cortex.py::CortexTest::test_cortex_modlrevs synapse/tests/test_cortex.py::CortexTest::test_cortex_modlvers synapse/tests/test_cortex.py::CortexTest::test_cortex_module synapse/tests/test_cortex.py::CortexTest::test_cortex_module_datamodel_migration synapse/tests/test_cortex.py::CortexTest::test_cortex_module_datamodel_migration_persistent synapse/tests/test_cortex.py::CortexTest::test_cortex_norm_fail synapse/tests/test_cortex.py::CortexTest::test_cortex_notguidform synapse/tests/test_cortex.py::CortexTest::test_cortex_ram synapse/tests/test_cortex.py::CortexTest::test_cortex_ramhost synapse/tests/test_cortex.py::CortexTest::test_cortex_ramtyperange synapse/tests/test_cortex.py::CortexTest::test_cortex_reqstor synapse/tests/test_cortex.py::CortexTest::test_cortex_rev0 synapse/tests/test_cortex.py::CortexTest::test_cortex_savefd synapse/tests/test_cortex.py::CortexTest::test_cortex_seed synapse/tests/test_cortex.py::CortexTest::test_cortex_seq synapse/tests/test_cortex.py::CortexTest::test_cortex_splicefd synapse/tests/test_cortex.py::CortexTest::test_cortex_splicepump synapse/tests/test_cortex.py::CortexTest::test_cortex_splices synapse/tests/test_cortex.py::CortexTest::test_cortex_splices_errs synapse/tests/test_cortex.py::CortexTest::test_cortex_sqlite3 synapse/tests/test_cortex.py::CortexTest::test_cortex_stats synapse/tests/test_cortex.py::CortexTest::test_cortex_tag_ival synapse/tests/test_cortex.py::CortexTest::test_cortex_tagform synapse/tests/test_cortex.py::CortexTest::test_cortex_tags synapse/tests/test_cortex.py::CortexTest::test_cortex_tlib_persistence synapse/tests/test_cortex.py::CortexTest::test_cortex_tufo_by_default synapse/tests/test_cortex.py::CortexTest::test_cortex_tufo_del synapse/tests/test_cortex.py::CortexTest::test_cortex_tufo_list synapse/tests/test_cortex.py::CortexTest::test_cortex_tufo_pop synapse/tests/test_cortex.py::CortexTest::test_cortex_tufo_setprop synapse/tests/test_cortex.py::CortexTest::test_cortex_tufo_setprops synapse/tests/test_cortex.py::CortexTest::test_cortex_tufo_tag synapse/tests/test_cortex.py::CortexTest::test_cortex_xact_deadlock synapse/tests/test_lib_storm.py::StormTest::test_storm_addnode synapse/tests/test_lib_storm.py::StormTest::test_storm_addtag synapse/tests/test_lib_storm.py::StormTest::test_storm_alltag synapse/tests/test_lib_storm.py::StormTest::test_storm_cmpr_norm synapse/tests/test_lib_storm.py::StormTest::test_storm_delnode synapse/tests/test_lib_storm.py::StormTest::test_storm_deltag synapse/tests/test_lib_storm.py::StormTest::test_storm_edit_end synapse/tests/test_lib_storm.py::StormTest::test_storm_editmode synapse/tests/test_lib_storm.py::StormTest::test_storm_filt_regex synapse/tests/test_lib_storm.py::StormTest::test_storm_lift synapse/tests/test_lib_storm.py::StormTest::test_storm_lifts_by synapse/tests/test_lib_storm.py::StormTest::test_storm_pivot synapse/tests/test_lib_storm.py::StormTest::test_storm_refs synapse/tests/test_lib_storm.py::StormTest::test_storm_setprop synapse/tests/test_lib_storm.py::StormTest::test_storm_show_help synapse/tests/test_lib_storm.py::StormTest::test_storm_tag_fromtag synapse/tests/test_lib_storm.py::StormTest::test_storm_tag_glob synapse/tests/test_lib_storm.py::StormTest::test_storm_tag_ival synapse/tests/test_lib_storm.py::StormTest::test_storm_tag_jointag synapse/tests/test_lib_storm.py::StormTest::test_storm_tag_query synapse/tests/test_lib_storm.py::StormTest::test_storm_tag_totag synapse/tests/test_lib_storm.py::LimitTest::test_limit_behavior synapse/tests/test_lib_storm.py::LimitTest::test_limit_behavior_negatives synapse/tests/test_lib_storm.py::LimitTest::test_limit_default
synapse/cores/common.py
synapse/cores/common.py