[MCOL-871] transactionLogArchiver possibly deprecated Created: 2017-08-11  Updated: 2022-11-05  Resolved: 2022-11-05

Status: Closed
Project: MariaDB ColumnStore
Component/s: Build
Affects Version/s: 1.0.10
Fix Version/s: Icebox

Type: Task Priority: Trivial
Reporter: MG Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None


 Description   

I noticed /usr/local/mariadb/columnstore/bin/transactionLogArchiver.sh and /usr/local/mariadb/columnstore/bin/transactionLog but they do not seem to be valid any longer

Tested with:

  1. tail -3 /etc/rsyslog.d/columnstore.conf
    1. test
      local2.=crit -/var/log/Calpont/data/data_mods.log
      local2.=* -/var/log/Calpont/data/data_mods.log

Should these be removed from the package?

Using rpm in this case:

  1. rpm -qf /usr/local/mariadb/columnstore/bin/transactionLog*
    mariadb-columnstore-platform-1.0.10-1.x86_64
    mariadb-columnstore-platform-1.0.10-1.x86_64


 Comments   
Comment by David Hill (Inactive) [ 2017-08-11 ]

Correct, the ColumnStore Product doesn't do the transactional logs that was done on the older Product of InfiniDB. The script still remain, but the functionality was disabled.

Comment by David Hill (Inactive) [ 2019-03-13 ]

Customer reported that the cron job is still being setup on his pm2 server.

There is 1 spot in the code that needs to be removed or commented out since this functionality is degraded

/home/dhill/mariadb-columnstore-server/mariadb-columnstore-engine/procmon/processmonitor.cpp

case OAMPARENTACTIVE: line 1648

setTransactionLog(true); line 1656

Customers comments:

Hi, I noticed the the bit about the transactionLogArchiver.sh script, MCOL-871, that was very old and is not used on columnstore. However, for some reason this script has been running as a cron every 10 minutes since our initial install, but ONLY on 1 of our 4 servers, PM2. We are not really sure how this cron would have been installed and running this whole time? We only noticed through emails from root.

Mail to root:
Subject: Cron <root@usfit-scdb7> /usr/local/mariadb/columnstore/bin/transactionLogArchiver.sh

Installation error: /var/log/mariadb/columnstore/data/archive is not a directory.

Output from the /etc/cron.d:

[root@usfit-scdb7 cron.d]# cat transactionLog
#

  1. Calpont version with Daily running at midnight
    #

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

  1. Translation Log Archiver, default to every 10 minutes
    */10 * * * * root /usr/local/mariadb/columnstore/bin/transactionLogArchiver.sh
Comment by Todd Stoffel (Inactive) [ 2022-11-05 ]

This item is being closed because it was well passed the expiration date with no activity. If you suspect this was done in error please create a new ticket.

Generated at Thu Feb 08 02:24:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.