Of course you can add tickets while cleaner is running, assuming you properly 
configured the cas.ticket.registry.jpa.dialect property (e.g. using 
org.hibernate.dialect.MySQL5InnoDBDialect).



> Am 26.07.2017 um 13:52 schrieb shruti halgekar <shruti.halge...@gmail.com>:
> 
> Thank you for your reply. I have one more query, If cleanup activity 
> initiated by one server then will other server get permision to insert record 
> into TICKETGRANTINGTICKET and SERVICETICKET tables?
> 
> On Wednesday, July 26, 2017 at 4:59:38 PM UTC+5:30, robertoschwald wrote:
> A Scheduled Job runs on all nodes (normally DefaultTicketRegistryCleaner), 
> which obtains a lock using the underlying LockingStrategy (e.g.  
> JpaLockingStrategy), and performs the ticket cleaning using the underlying 
> TicketRegistry implementation (e.g. JpaTicketRegistry).
> All other nodes running the TicketRegistryCleaner do not perform if the lock 
> is already obtained.
> 
> See 
> https://github.com/apereo/cas/blob/d893011b344071ff983a3cda5d132d15c2f87c35/core/cas-server-core-tickets/src/main/java/org/apereo/cas/ticket/registry/DefaultTicketRegistryCleaner.java
> 
> 
> On Wednesday, July 26, 2017 at 1:17:54 PM UTC+2, shruti halgekar wrote:
> 
> Can anybody let me know, How ticket cleanup works in clustered CAS 
> environment? We are using JPA Ticket Registry.
> 
> Thank you in advance.
> 
> -- 
> - CAS gitter chatroom: https://gitter.im/apereo/cas
> - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
> - CAS documentation website: https://apereo.github.io/cas
> - CAS project website: https://github.com/apereo/cas
> --- 
> You received this message because you are subscribed to the Google Groups 
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit 
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/cd583dc9-3317-44b4-96f4-1d0c13481807%40apereo.org.

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/A0B8C492-BB9B-4FF2-B21D-A3B03B4BB6AF%40gmail.com.

Reply via email to