Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15924

Java thin client: Type name is not cached on client side for OptimizerMarshaller types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.12
    • None
    • Release Notes Required

    Description

      For JDK marshaller types (for example LocalDateTime use JDK marshaller) type name, requested by typeId, is not cached correctly.

      For example, in this fragment, type name requested twice by thin-client (after each get request), but should be cached after the first request: 

      try (Ignite srv = Ignition.start(Config.getServerConfiguration())) {
          srv.cache(Config.DEFAULT_CACHE_NAME).put(1, LocalDateTime.now());
      
          try (IgniteClient client = Ignition.startClient(new ClientConfiguration().setAddresses(Config.SERVER))) {
              client.cache(Config.DEFAULT_CACHE_NAME).get(1);
              client.cache(Config.DEFAULT_CACHE_NAME).get(1);
          }
      } 

      Attachments

        Issue Links

          Activity

            People

              nizhikov Nikolay Izhikov
              alexpl Alex Plehanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m