You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The query API handler (ie. v1DataPost) should accept client requests even when OPA is performing bundle activation. A recent change updated v1DataPost handler to open a read txn on the store which would prevent api requests from being blocked while a bundle is activating. We should add a server test to exercise this scenario. The test case would open a write transaction on the store and then simulate client requests to ensure that the server still processes them.
The text was updated successfully, but these errors were encountered:
This test case exercises the scenario when a bundle is being written
to the store (ie. active write transaction) and the OPA server handling
a policy eval request at the same time. The former should not block
the later.
Fixes: open-policy-agent#4792
Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
This test case exercises the scenario when a bundle is being written
to the store (ie. active write transaction) and the OPA server handling
a policy eval request at the same time. The former should not block
the later.
Fixes: open-policy-agent#4792
Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
This test case exercises the scenario when a bundle is being written
to the store (ie. active write transaction) and the OPA server handling
a policy eval request at the same time. The former should not block
the later.
Fixes: #4792
Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
The query API handler (ie. v1DataPost) should accept client requests even when OPA is performing bundle activation. A recent change updated
v1DataPost
handler to open a read txn on the store which would prevent api requests from being blocked while a bundle is activating. We should add a server test to exercise this scenario. The test case would open a write transaction on the store and then simulate client requests to ensure that the server still processes them.The text was updated successfully, but these errors were encountered: