Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ssougnez 93 posts 319 karma points c-trib
    Oct 22, 2018 @ 09:33
    ssougnez
    0

    My slave server can create content

    Hello,

    I followed the instructions detailed here to elect a master and slaves server. I created an "ApplicationEventHandler" and in the "ApplicationStarting" method, I set the current "ServerRegistrarResolver" on either "MasterServerRegistrar" or "FrontEndReadOnlyServerRegistrar".

    Note that I'm testing this on my development machine, so I launch the site via "Visual Studio" (meaning that I have only one server).

    When I modify the code to explicitly define the registrar as "FrontEndReadOnlyServerRegistrar", it seems that I can use the back office as I want (I tried to created document types and document and I didn't get any issue). However, in the documentation, it's written that a server using this registrar has read only access to the database and shouldn't be allowed to write in it.

    This is my first concern, but my second is: "Does using this class really ensure that the server won't be elected as the scheduling one?"?

    Is this documentation outdated or I didn't understand the point of this?

  • Tajamal 87 posts 175 karma points
    Oct 24, 2023 @ 08:31
    Tajamal
    0

    Did you find out why?

Please Sign in or register to post replies

Write your reply to:

Draft