Post monitors from compress record when resetting it

This way clients receive updates with an empty array after writing into
the RES field.
This commit is contained in:
Érico Nogueira
2025-01-07 19:47:50 -03:00
committed by Andrew Johnson
parent 0d2ffcd97f
commit 8ac2c87156
2 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,11 @@ should also be read to understand what has changed since earlier releases:
## Changes made on the 7.0 branch since 7.0.8.1
### Post monitors from compress record when it's reset
Writing into a compress record's `RES` field now posts a monitor event instead
of only changing `VAL`. Monitor clients will therefore receive an empty array.
### The AMSG error message propagates through MSS links
A database link with the MSS attribute will now propagate not only SEVR and

View File

@ -384,6 +384,7 @@ static long special(DBADDR *paddr, int after)
if (special_type == SPC_RESET) {
reset(prec);
monitor(prec);
return 0;
}