11.8: Store always clearing on restart

Tuesday, 25 March 2025 · 4 messages · last reply 26 Mar 2025
ZD
Zimmel, Daniel25 Mar 2025 16:52 #
Hi, is this a bug? The store is always clearing on restart. In contrast, the documentation says: "The store will still be available if BaseX is restarted until it is cleared." https://docs.basex.org/main/Store_Functions It works as documented in 11.6, but not in 11.7 and 11.8. Steps to reproduce via GUI: 11.6: Start GUI XQuery: store:put('TEST','TEST') Close GUI Start GUI XQuery: store:get('TEST') Result: 'TEST' 11.7/8: Start GUI XQuery: store:put('TEST','TEST') Close GUI Start GUI XQuery: store:get('TEST') Result is empty The changelog for 11.7 says (not related?): [MOD] Store functions: only read if contents have changed (https://basex.org/2025/01/31/basex-11.7/) Cheers, Daniel
CG
Christian Grün25 Mar 2025 19:05 #
Strange things happen. This is unexpected indeed, we’ll look at it soon [1]. Thanks for letting us know. [1] https://github.com/BaseXdb/basex/issues/2407
Quoted text · Daniel · 35 lines
On Tue, Mar 25, 2025 at 4:52 PM Zimmel, Daniel <D.Zimmel at esvmedien.de> wrote: > Hi, > > is this a bug? The store is always clearing on restart. > In contrast, the documentation says: "The store will still be available if > BaseX is restarted until it is cleared." > https://docs.basex.org/main/Store_Functions > > It works as documented in 11.6, but not in 11.7 and 11.8. > > Steps to reproduce via GUI: > > 11.6: > Start GUI > XQuery: store:put('TEST','TEST') > Close GUI > Start GUI > XQuery: store:get('TEST') > Result: 'TEST' > > 11.7/8: > Start GUI > XQuery: store:put('TEST','TEST') > Close GUI > Start GUI > XQuery: store:get('TEST') > Result is empty > > The changelog for 11.7 says (not related?): [MOD] Store functions: only > read if contents have changed (https://basex.org/2025/01/31/basex-11.7/) > > Cheers, Daniel > >
CG
Christian Grün26 Mar 2025 08:59 #
…a new snapshot is available [1]. Hope this helps. [1] https://files.basex.org/releases/latest/
Quoted text · Christian Grün · 44 lines
On Tue, Mar 25, 2025 at 7:05 PM Christian Grün <christian.gruen at gmail.com> wrote: > Strange things happen. This is unexpected indeed, we’ll look at it soon > [1]. Thanks for letting us know. > > [1] https://github.com/BaseXdb/basex/issues/2407 > > > On Tue, Mar 25, 2025 at 4:52 PM Zimmel, Daniel <D.Zimmel at esvmedien.de> > wrote: > >> Hi, >> >> is this a bug? The store is always clearing on restart. >> In contrast, the documentation says: "The store will still be available >> if BaseX is restarted until it is cleared." >> https://docs.basex.org/main/Store_Functions >> >> It works as documented in 11.6, but not in 11.7 and 11.8. >> >> Steps to reproduce via GUI: >> >> 11.6: >> Start GUI >> XQuery: store:put('TEST','TEST') >> Close GUI >> Start GUI >> XQuery: store:get('TEST') >> Result: 'TEST' >> >> 11.7/8: >> Start GUI >> XQuery: store:put('TEST','TEST') >> Close GUI >> Start GUI >> XQuery: store:get('TEST') >> Result is empty >> >> The changelog for 11.7 says (not related?): [MOD] Store functions: only >> read if contents have changed (https://basex.org/2025/01/31/basex-11.7/) >> >> Cheers, Daniel >> >>
ZD
Zimmel, Daniel26 Mar 2025 09:11 #
This one was fast! I can confirm this working as expected again, both via GUI and a server restart. Thanks!
Quoted text · Christian Grün · 32 lines
Von: Christian Grün <christian.gruen at gmail.com> Gesendet: Mittwoch, 26. März 2025 08:59 An: Zimmel, Daniel <D.Zimmel at ESVmedien.de> Cc: basex-talk at mailman.uni-konstanz.de Betreff: Re: [basex-talk] 11.8: Store always clearing on restart …a new snapshot is available [1]. Hope this helps. [1] https://files.basex.org/releases/latest/ On Tue, Mar 25, 2025 at 7:05 PM Christian Grün <christian.gruen at gmail.com<mailto:christian.gruen at gmail.com>> wrote: Strange things happen. This is unexpected indeed, we’ll look at it soon [1]. Thanks for letting us know. [1] https://github.com/BaseXdb/basex/issues/2407 On Tue, Mar 25, 2025 at 4:52 PM Zimmel, Daniel <D.Zimmel at esvmedien.de<mailto:D.Zimmel at esvmedien.de>> wrote: Hi, is this a bug? The store is always clearing on restart. In contrast, the documentation says: "The store will still be available if BaseX is restarted until it is cleared." https://docs.basex.org/main/Store_Functions It works as documented in 11.6, but not in 11.7 and 11.8. Steps to reproduce via GUI: 11.6: Start GUI XQuery: store:put('TEST','TEST') Close GUI Start GUI XQuery: store:get('TEST') Result: 'TEST' 11.7/8: Start GUI XQuery: store:put('TEST','TEST') Close GUI Start GUI XQuery: store:get('TEST') Result is empty The changelog for 11.7 says (not related?): [MOD] Store functions: only read if contents have changed (https://basex.org/2025/01/31/basex-11.7/) Cheers, Daniel

⚡Generated with XQuery