Skip to content

Commit ec47633

Browse files
committed
bump to 0.4.1, fix bug with late materialization
1 parent b43008f commit ec47633

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

docs/source/versions/v0_4_1.rst

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
v0.4.1
2+
======
3+
4+
New Features
5+
------------
6+
7+
Bug Fixes
8+
---------
9+
10+
* Fixed a bug where maps submitted with late materialization would choke on the
11+
"cluster submit" event when reading their event log. Band-aided for now.
12+
13+
Known Issues
14+
------------
15+
16+
* Execution errors that result in the job being terminated but no output being
17+
produced are still not handled entirely gracefully. Right now, the component
18+
state will just show as ``ERRORED``, but there won't be an actual error report.
19+
* Map component state may become corrupted when a map is manually vacated.
20+
Force-removal may be needed to clean up maps if HTCondor and HTMap disagree
21+
about the state of their components.
22+
Issue: https://github.com/htcondor/htmap/issues/129

htmap/state.py

+5
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ def _read_events(self):
113113
for event in self._event_reader:
114114
self.map._local_data = None # invalidate cache if any events were received
115115

116+
# skip the late materialization submit event
117+
# todo: replace with better mechanism
118+
if event.proc < 0:
119+
continue
120+
116121
if event.type is htcondor.JobEventType.SUBMIT:
117122
self._clusterproc_to_component[(event.cluster, event.proc)] = int(event['LogNotes'])
118123

htmap/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from typing import Tuple
1717

18-
__version__ = '0.4.0'
18+
__version__ = '0.4.1'
1919

2020

2121
def version() -> str:

0 commit comments

Comments
 (0)