fierro9418
04/04/2023, 5:16 PMzed relationpship read
can return fewer relationships than are stored in the DB? I've inserted 1000 relations, but zed relationship read
is only returning the one relation that was inserted via zed
and not via code. Wondering if the data could have been mangled somehow, and if so, how to debug.
select * from relationship_tuple;
.
.
| 998 | document | document-8997 | reader | user | userA | ... | 5 | 15 | | null |
| 999 | document | document-8998 | reader | user | userA | ... | 5 | 15 | | null |
| 3997 | document | A | reader | user | B | ... | 28 | 9223372036854775807 | | null |
+------+-----------+---------------+----------+-------------------+-------------------+------------------+---------------------+---------------------+-------------+----------------+
1000 rows in set (0.13 sec)
zed relationship read document
document:A reader user:B
fierro9418
04/04/2023, 5:20 PMcreated_transaction | deleted_transaction
Joey
04/04/2023, 5:20 PMdeleted_transaction
is set, then the relationships are deletedfierro9418
04/04/2023, 5:22 PMdeleted_transaction
appears to be set for both, you can see it's set to 15
for the 1000 not showing up, and set to 9223372036854775807
for the ones showing upJoey
04/04/2023, 5:23 PMJoey
04/04/2023, 5:23 PM15
means it was deletedJoey
04/04/2023, 5:23 PM9223372036854775807
(max int) means it was notfierro9418
04/04/2023, 5:23 PMJoey
04/04/2023, 5:23 PMfierro9418
04/04/2023, 5:23 PMJoey
04/04/2023, 5:23 PM9223372036854775807
fierro9418
04/04/2023, 5:24 PMJoey
04/04/2023, 5:24 PMJoey
04/04/2023, 5:24 PMJoey
04/04/2023, 5:24 PMfierro9418
04/04/2023, 5:25 PM