Hi IoTDB ,

Could you review PR #19431 <https://github.com/apache/iotdb/pull/19431>? It
fixes a table-model bug reported against IoTDB 2.0.11 in issue #19423
<https://github.com/apache/iotdb/issues/19423>.

For example, if two devices have TAG values rack* and *rack1*, an equality
condition for *rack** can select both devices for deletion. This happens
because device lookup interprets the trailing asterisk as a path wildcard.
The fix uses exact-name lookup for TAG values with leading or trailing
asterisks.

All 14 tests in DeviceFilterUtilTest passed locally. I also ran the
regression test with one DataNode and with three DataNodes. In both cases,
the first delete removed only rack*, repeating it removed zero devices, and
rack1 and its data remained readable.

Thanks,
DaZuiZui

Reply via email to