Ticket #79 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

New properties are not accessible from different endponts

Reported by: ggarbis Owned by: pyravlos-team
Priority: minor Milestone:
Component: endpoint Version: 3.3.1
Keywords: Cc:

Description

Suppose two endpoints (e.g., http://strabon.di.uoa.gr/endpoint1 and http://strabon.di.uoa.gr/endpoint2) that are connected to the same database.

If an update (that inserts a new property) is performed by endpoint1, then new data is not accessible from endpoint2.

Example:

Endpoint 1:

select * where {?s ?p ?o}
---
<http://example.org/s> <http://example.org/p1> <http://example.org/o>

Endpoint 2:

select * where {?s ?p ?o}
---
<http://example.org/s> <http://example.org/p1> <http://example.org/o>

Endpoint 1:

insert data {
  <http://example.org/s> <http://example.org/p1> <http://example.org/o2>
  <http://example.org/s> <http://example.org/p2> <http://example.org/o2>
}

Endpoint 1:

select * where {?s ?p ?o}
---
<http://example.org/s> <http://example.org/p1> <http://example.org/o>
<http://example.org/s> <http://example.org/p1> <http://example.org/o2>
<http://example.org/s> <http://example.org/p2> <http://example.org/o2>

Endpoint 2:

select * where {?s ?p ?o}
---
<http://example.org/s> <http://example.org/p1> <http://example.org/o>
<http://example.org/s> <http://example.org/p1> <http://example.org/o2>

Change History

comment:1 Changed 2 years ago by charnik

  • Status changed from new to closed
  • Resolution set to invalid

There cannot be two endpoints connected simultaneously to the same database!

Note: See TracTickets for help on using tickets.