don't use flatbuffers for Event index table (make it opaque)

This commit is contained in:
Doug Hoyte
2024-08-30 17:39:16 -04:00
parent 391f632b73
commit 47c26cc887
10 changed files with 13 additions and 15 deletions

View File

@ -92,7 +92,7 @@ struct ActiveMonitors : NonCopyable {
if (item.latestEventId >= ev.primaryKeyId || item.mon->sub.latestEventId >= ev.primaryKeyId) continue;
item.latestEventId = ev.primaryKeyId;
if (f->doesMatch(PackedEventView(ev.packed()))) {
if (f->doesMatch(PackedEventView(ev.buf))) {
recipients.emplace_back(item.mon->sub.connId, item.mon->sub.subId);
item.mon->sub.latestEventId = ev.primaryKeyId;
continue;
@ -113,7 +113,7 @@ struct ActiveMonitors : NonCopyable {
}
};
auto packed = PackedEventView(ev.packed());
auto packed = PackedEventView(ev.buf);
{
auto id = std::string(packed.id());