https://dagster.io/ logo
#ask-community
Title
# ask-community
r

Rob Sicurelli

06/14/2023, 10:08 PM
hey folks - I've been materializing an asset locally during testing, and I see it has "-1" for the count of successful partitions. what does this mean?
c

claire

06/15/2023, 4:17 PM
Hi Rob. This is an error. How did you encounter this error? Did it involve changing a partitions def?
r

Rob Sicurelli

06/15/2023, 9:53 PM
@claire I may have changed the start date on a partition def during testing, but I can't recall. when I get some time I can try to repro exactly how to get to this state
c

claire

06/15/2023, 9:54 PM
that would be much appreciated 🙏 happy to help out from there and put in a fix to resolve this
r

Rob Sicurelli

06/20/2023, 4:10 PM
@claire yeah so this happened again during a backfill. there were originally 15 failed partitions, then I kicked off a backfill, and it looks like this:
c

claire

06/20/2023, 4:12 PM
@Rob Sicurelli thanks for looking into this--i'll try and repro this and get a fix out
after the backfill concludes, are the numbers correct?
r

Rob Sicurelli

06/20/2023, 4:14 PM
yes - the numbers are good after the backfill
c

claire

06/20/2023, 4:18 PM
ah okay, looks like the in progress count might be incorrectly subtracted from the "materialized" count when those in progress partitions have not previously been materialized cc @johann
ack 1
👍 1
j

johann

06/20/2023, 5:16 PM
What version of dagster are you running?
r

Rob Sicurelli

06/20/2023, 10:42 PM
1.3.9
@claire that could explain it. all partitions failed the initial run, so I was backfilling 15 failed partitions
j

johann

06/21/2023, 9:02 PM
haha I got it, if a partition has ever been materialized and is in progress and the most recent attempt failed, then we double subtract from materialized
🙏 1
thank you for the details, super helpful
D 1