From 0ce499387f2041eff356f90efef9b216cb452d0c Mon Sep 17 00:00:00 2001 From: Julia Molin Date: Fri, 12 Dec 2025 05:52:37 -0800 Subject: [PATCH] test ci signals Differential Revision: D89050764 --- glean.cabal.in | 2 +- glean/db/Glean/Database/Storage/RocksDB.hs | 2 +- glean/rocksdb/ffi.cpp | 4 ++-- mk/cxx.mk | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/glean.cabal.in b/glean.cabal.in index 625c09c322..94a1994edb 100644 --- a/glean.cabal.in +++ b/glean.cabal.in @@ -358,7 +358,7 @@ library rts glean/rts/ownership/fallbackavx.h glean/rts/ownership.h glean/rts/ownership/pool.h - glean/rts/ownership/setu32.h + glean/rts/ownership/setu64.h glean/rts/ownership/slice.h glean/rts/ownership/triearray.h glean/rts/ownership/uset.h diff --git a/glean/db/Glean/Database/Storage/RocksDB.hs b/glean/db/Glean/Database/Storage/RocksDB.hs index fd102cca69..dee8af9d25 100644 --- a/glean/db/Glean/Database/Storage/RocksDB.hs +++ b/glean/db/Glean/Database/Storage/RocksDB.hs @@ -211,7 +211,7 @@ instance Storage RocksDB where unsafeWithForeignPtr (dbPtr db) $ \db_ptr -> unsafeWithBytes unit $ \unit_ptr unit_size -> do w64 <- invoke $ glean_rocksdb_get_unit_id db_ptr unit_ptr unit_size - if w64 > 0xffffffff + if w64 == 0xffffffffffffffff then return Nothing else return (Just (UnitId (fromIntegral w64))) diff --git a/glean/rocksdb/ffi.cpp b/glean/rocksdb/ffi.cpp index d7801d27da..7567d9ffbc 100644 --- a/glean/rocksdb/ffi.cpp +++ b/glean/rocksdb/ffi.cpp @@ -112,7 +112,7 @@ void glean_rocksdb_container_free(Container* container) { const char* glean_rocksdb_container_open_database( Container* container, glean_fact_id_t start, - uint32_t first_unit_id, + uint64_t first_unit_id, int64_t version, Database** database) { return ffi::wrap([=] { @@ -181,7 +181,7 @@ const char* glean_rocksdb_get_unit_id( const char* glean_rocksdb_get_unit( Database* db, - uint32_t unit_id, + uint64_t unit_id, void** unit, size_t* unit_size) { return ffi::wrap([=] { diff --git a/mk/cxx.mk b/mk/cxx.mk index 9523614703..684b119d46 100644 --- a/mk/cxx.mk +++ b/mk/cxx.mk @@ -31,7 +31,7 @@ CXX_SOURCES_glean_cpp_rts = \ glean/rts/nat.cpp \ glean/rts/ownership.cpp \ glean/rts/ownership/derived.cpp \ - glean/rts/ownership/setu32.cpp \ + glean/rts/ownership/setu64.cpp \ glean/rts/ownership/slice.cpp \ glean/rts/ownership/uset.cpp \ glean/rts/prim.cpp \