There are 3 comments.
 
 
Replication / cid:jira-generated-image-avatar-ef36df3f-2469-4762-b75c-4c23dadf8afe REPLICAT-234 Open

Placeholder replication level does not seem to be working

 
View issue   ยท   Add comment
 

3 comments

 
cid:jira-generated-image-avatar-d86df57d-f83e-4287-aa9f-a31c87ade76f Ilie Andriuta on 27/Apr/26 16:59
 

It is placeholder, see the Configuration section.

I've noticed that the Configuration section contains the correct setting for Placeholder level, this is why I underlined it in the screenshot.

The level you are talking about is the level the current instance has access to (and it does have access to everything, since it's the owner).

Ok, I couldn't find the description in the documentation pages. In this case, I think maybe it would make sense to rename the 'Replication level' from the Replication tab to: "Replication level to which the current instance has access to", to be more clear.

Replication works fine with Everything instead Placeholder in the configuration ? No error/warning in the log ?

There are some WARNs in the logs, but I don't think they are related (got these also for other pages as well, not especially related to setting Placeholder level):

2026-04-27 16:10:50,654 [qtp93314457-46 - http://localhost:1707/xwiki/bin/admin/ReplicationPlaceholder2/WebPreferences?editor=spaceadmin&space=ReplicationPlaceholder2&section=Replication] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:10:50,655 [qtp93314457-46 - http://localhost:1707/xwiki/bin/admin/ReplicationPlaceholder2/WebPreferences?editor=spaceadmin&space=ReplicationPlaceholder2&section=Replication] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:26:48,301 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:26:48,301 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:26:48,659 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:26:48,659 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:27:39,551 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:27:39,552 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:28:39,253 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:28:39,254 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:50:15,123 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:50:15,125 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data

From what I've tested so far, it works with Everything > 'Both', and Everything > 'Send only,' however, there is an issue with Everything > 'Receive only', I think.

For example, when I create a new page, then from Page Administration I set from 'Page and children' > 'All instances' > 'Replication level' > 'Everything', 'Replication direction' > 'Receive only' and save, this page is not replicated on the other instance (but it gets replicated if I select 'Both' or 'Send only').

The Replication tab for this 'Everything / Receive only' page looks like this:

 
cid:jira-generated-image-avatar-d86df57d-f83e-4287-aa9f-a31c87ade76f Ilie Andriuta on 27/Apr/26 17:02
 
{quote}It is placeholder, see the Configuration section.
{quote}
I've noticed that the Configuration section contains the correct setting for Placeholder level, this is why I underlined it in the screenshot.
{quote}The level you are talking about is the level the current instance has access to (and it does have access to everything, since it's the owner).
{quote}
Ok, I couldn't find the description in the documentation pages. In this case, I think maybe it would make sense to rename the 'Replication level' from the Replication tab to: "Replication level to which the current instance has access to", to be more clear.
{quote}Replication works fine with Everything instead Placeholder in the configuration ? No error/warning in the log ?
{quote}
There are some WARNs in the logs, but I don't think they are related (got these also for other pages as well, not especially related to setting Placeholder level):
{code:java}
2026-04-27 16:10:50,654 [qtp93314457-46 - http://localhost:1707/xwiki/bin/admin/ReplicationPlaceholder2/WebPreferences?editor=spaceadmin&space=ReplicationPlaceholder2&section=Replication] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:10:50,655 [qtp93314457-46 - http://localhost:1707/xwiki/bin/admin/ReplicationPlaceholder2/WebPreferences?editor=spaceadmin&space=ReplicationPlaceholder2&section=Replication] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:26:48,301 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:26:48,301 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:26:48,659 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:26:48,659 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:27:39,551 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:27:39,552 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:28:39,253 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:28:39,254 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:50:15,123 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:50:15,125 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
{code}
From what I've tested so far, it works with Everything > 'Both', and Everything > 'Send only,' however, there is an issue with Everything > 'Receive only', I think.

For example, when I create a new page, then from Page Administration I set from 'Page and children' > 'All instances' > 'Replication level' > 'Everything', 'Replication direction' > 'Receive only' and save, this page is not replicated on the other instance (but it gets replicated if I select 'Both' or 'Send only').

The On the Replication tab for this 'Everything / Receive only' page looks like this , the Replication level is 'Unknown' and the Configuration says :   'Allow updates to be sent and received from this instance',, but it's set to 'Receive only'.

Should I create a separate issue for this? I was waiting to confirm, maybe I'm missing something.
 
cid:jira-generated-image-avatar-d86df57d-f83e-4287-aa9f-a31c87ade76f Ilie Andriuta on 27/Apr/26 17:02
 
{quote}It is placeholder, see the Configuration section.
{quote}
I've noticed that the Configuration section contains the correct setting for Placeholder level, this is why I underlined it in the screenshot.
{quote}The level you are talking about is the level the current instance has access to (and it does have access to everything, since it's the owner).
{quote}
Ok, I couldn't find the description in the documentation pages. In this case, I think maybe it would make sense to rename the 'Replication level' from the Replication tab to: "Replication level to which the current instance has access to", to be more clear.
{quote}Replication works fine with Everything instead Placeholder in the configuration ? No error/warning in the log ?
{quote}
There are some WARNs in the logs, but I don't think they are related (got these also for other pages as well, not especially related to setting Placeholder level):
{code:java}
2026-04-27 16:10:50,654 [qtp93314457-46 - http://localhost:1707/xwiki/bin/admin/ReplicationPlaceholder2/WebPreferences?editor=spaceadmin&space=ReplicationPlaceholder2&section=Replication] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:10:50,655 [qtp93314457-46 - http://localhost:1707/xwiki/bin/admin/ReplicationPlaceholder2/WebPreferences?editor=spaceadmin&space=ReplicationPlaceholder2&section=Replication] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:26:48,301 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:26:48,301 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:26:48,659 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:26:48,659 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:27:39,551 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:27:39,552 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:28:39,253 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:28:39,254 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
2026-04-27 16:50:15,123 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000
2026-04-27 16:50:15,125 [Replication receiver] WARN  o.h.e.j.s.SqlExceptionHelper   - no data
{code}
From what I've tested so far, it works with Everything > 'Both', and Everything > 'Send only,' however, there is an issue with Everything > 'Receive only', I think.

For example, when I create a new page, then from Page Administration I set from 'Page and children' > 'All instances' > 'Replication level' > 'Everything', 'Replication direction' > 'Receive only' and save, this page is not replicated on the other instance (but it gets replicated if I select 'Both' or 'Send only').

On the Replication tab for this 'Everything / Receive only' page, the Replication level is 'Unknown' and the Configuration says:  'Allow updates to be sent and received from this instance',
, but it's set to 'Receive only'.

Should I create a separate issue for this? I was waiting to confirm, maybe I'm missing something.